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@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@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@freeswitch.org
> http://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
> http://www.cudatel.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org