[Freeswitch-users] enable_file_write_buffering
Tamas Jalsovszky
jalsot at gmail.com
Fri Apr 13 01:29:03 MSD 2012
Thank you.
Example case: stereo recording, 8kHz, default buffer size (65536)
65536/2 channels/2 bytes perc channel/8000 samples per second -> 2,048
seconds.
Is this a correct calculus?
As I have seen, there is a buffering in media bug too, where the default
number of frames is 25, which would mean in my case with 20ms codec, 500ms
buffer. Does this adds to the one previously calculated meaning the actual
buffering is about 2.5 seconds?
Jalsot
On Thu, Apr 12, 2012 at 11:02 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> its raw signed linear audio depending on the sample rate you can
> divide by 2 to get samples then divide samples per second.
>
>
> On Wed, Apr 11, 2012 at 12:00 PM, Tamas Jalsovszky <jalsot at gmail.com>
> wrote:
> > Hello,
> >
> > Does anybody know how much buffering does the
> > enable_file_write_buffering=true provide?
> > What I've found from source code that there is a buffer with 65536 length
> > but not sure how to calculate the actual buffer length in milliseconds -
> to
> > estimate IOPS at the end.
> >
> > I would happily add the info to wiki afterwards.
> >
> > Kind regards,
> > Jalsot
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> >
> >
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120412/b4f50e26/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list