mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gst-libs/gst/audio/TODO: Update TODO
Original commit message from CVS: * gst-libs/gst/audio/TODO: Update TODO * gst-libs/gst/audio/gstbaseaudiosink.c: (gst_base_audio_sink_get_offset): When trying to play samples ASAP and we don't have a previous sample, try to play at position 0 instead of an invalid position.
This commit is contained in:
parent
fd0f54c59f
commit
454618e9b9
3 changed files with 16 additions and 0 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2006-02-17 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst-libs/gst/audio/TODO:
|
||||
Update TODO
|
||||
|
||||
* gst-libs/gst/audio/gstbaseaudiosink.c:
|
||||
(gst_base_audio_sink_get_offset):
|
||||
When trying to play samples ASAP and we don't have a
|
||||
previous sample, try to play at position 0 instead of
|
||||
an invalid position.
|
||||
|
||||
2006-02-17 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/alsa/gstalsasink.c: (gst_alsasink_open),
|
||||
|
|
|
@ -11,3 +11,5 @@ TODO
|
|||
- more accurate master/slave calibration handling
|
||||
- faster audio cutoff when going to PAUSED
|
||||
- resubmit samples from ringbuffer when doing PAUSED->PLAYING again
|
||||
- the ringbuffer should have a state where it is filling up the
|
||||
buffer before going to playing.
|
||||
|
|
|
@ -434,6 +434,9 @@ gst_base_audio_sink_get_offset (GstBaseAudioSink * sink)
|
|||
|
||||
/* assume we can append to the previous sample */
|
||||
sample = sink->next_sample;
|
||||
/* no previous sample, try to insert at position 0 */
|
||||
if (sample == -1)
|
||||
sample = 0;
|
||||
|
||||
sps = sink->ringbuffer->samples_per_seg;
|
||||
|
||||
|
|
Loading…
Reference in a new issue