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
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>
|
2006-02-17 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/alsa/gstalsasink.c: (gst_alsasink_open),
|
* ext/alsa/gstalsasink.c: (gst_alsasink_open),
|
||||||
|
@ -11,3 +11,5 @@ TODO
|
|||||||
- more accurate master/slave calibration handling
|
- more accurate master/slave calibration handling
|
||||||
- faster audio cutoff when going to PAUSED
|
- faster audio cutoff when going to PAUSED
|
||||||
- resubmit samples from ringbuffer when doing PAUSED->PLAYING again
|
- 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 */
|
/* assume we can append to the previous sample */
|
||||||
sample = sink->next_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;
|
sps = sink->ringbuffer->samples_per_seg;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user