gst-libs/gst/audio/: Document better the fact that latency_time and buffer_time are...
authorJan Schmidt <thaytan@mad.scientist.com>
Sat, 3 Jun 2006 21:06:49 +0000 (21:06 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Sat, 3 Jun 2006 21:06:49 +0000 (21:06 +0000)
commit45e06fe7043de83e8db56c161a2d01b5816596f4
tree135edfa24af474ecb499522d9fddb9e878e35356
parentdd42d7ba98a885d8c86f9ee8a1f96cfa50a27b00
gst-libs/gst/audio/: Document better the fact that latency_time and buffer_time are values stored in microseconds, an...

Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_class_init), (gst_base_audio_sink_setcaps):
* gst-libs/gst/audio/gstbaseaudiosink.h:
* gst-libs/gst/audio/gstringbuffer.c: (gst_ring_buffer_parse_caps),
(gst_ring_buffer_samples_done):
* gst-libs/gst/audio/gstringbuffer.h:
Document better the fact that latency_time and buffer_time are values
stored in microseconds, and not the usual GStreamer nanoseconds.
Change the variables (compatibly) that store them from GstClockTime
to guint64 to make it more clear that they're not storing clock times.
Also, remove the bogus property description that says the user can
specify -1 to get the default value, since that's never been the case.
When computing the default segment size for the ring buffer, make it
an integer number of samples.
When the sub-class indicates a delay greater than the number of
samples we've written return 0 from the audio sink get_time method.
ChangeLog
gst-libs/gst/audio/gstbaseaudiosink.c
gst-libs/gst/audio/gstbaseaudiosink.h
gst-libs/gst/audio/gstringbuffer.c
gst-libs/gst/audio/gstringbuffer.h