gstreamer/tests/examples/seek
Wim Taymans 1166abbc99 gst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event.
Original commit message from CVS:
* gst-libs/gst/audio/gstbaseaudiosink.c:
(gst_base_audio_sink_event), (gst_base_audio_sink_render):
* gst-libs/gst/audio/gstbaseaudiosink.h:
Extract rate from the NEWSEGMENT event.
Use commit_full to also take rate adjustment into account when writing
samples to the ringbuffer.
* gst-libs/gst/audio/gstringbuffer.c:
(gst_ring_buffer_commit_full), (gst_ring_buffer_commit),
(gst_ring_buffer_read):
* gst-libs/gst/audio/gstringbuffer.h:
Added _commit_full() to also take rate into account.
Use simple interpolation algorithm to resample audio.
API: gst_ring_buffer_commit_full()
* tests/examples/seek/scrubby.c: (speed_cb), (do_seek):
* tests/examples/seek/seek.c: (segment_done):
Don't try to seek with 0.0 rate, just pause instead.
Remove bogus debug line.
2006-10-18 13:42:49 +00:00
..
.gitignore ignore more 2005-11-30 17:45:21 +00:00
Makefile.am tests/examples/seek/Makefile.am: Build fix for when gtk is not available. 2005-12-05 13:11:20 +00:00
scrubby.c gst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event. 2006-10-18 13:42:49 +00:00
seek.c gst-libs/gst/audio/gstbaseaudiosink.*: Extract rate from the NEWSEGMENT event. 2006-10-18 13:42:49 +00:00