[gstreamer-bugs] [Bug 580007] GstRingbuffer throws a floating point exception when buffer-time is too low

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Apr 28 11:57:49 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=580007

  GStreamer | gst-plugins-base | Ver: git




------- Comment #7 from Tristan Matthews  2009-04-28 18:57 UTC -------
I did more testing, and I've found that the minimum value you can assign to
buffer-time without getting this exception depends on (at least) your jack
server's frames per period setting as well as its sample rate, both of which
can be determined with jack_get_buffer_size and jack_get_sample_rate,
respectively. 

For example, for a sample rate of 48000, the following combinations represent
the minimum buffer-times possible:

sample-rate: 48000
frames per period: [16   32   64    128   256   512    1024   2048]
min buffer-time:   [333  666  1333  2666  5333  10666  21333  42666]

or for 44100...

sample-rate: 44100
frames per period: [16   32   64    128    256   512    1024   2048]   
min buffer-time:   [362  725  1451  2902   5804  11609  23219  46439]


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=580007.




More information about the Gstreamer-bugs mailing list