mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
69d36f02ce
Original commit message from CVS: 2005-08-08 Andy Wingo <wingo@pobox.com> * gst-libs/gst/audio/gstbaseaudiosink.c (gst_base_audio_sink_change_state): Open the device in NULL->READY like good elements should. Close on READY->NULL too. * gst-libs/gst/audio/gstaudiosink.c (gst_audioringbuffer_open_device, (gst_audioringbuffer_close_device, gst_audioringbuffer_acquire) (gst_audioringbuffer_release): Updates for new ring buffer API, hook into the new audio sink api. * gst-libs/gst/audio/gstaudiosink.h (GstAudioSinkClass.open) (GstAudioSinkClass.close): Just open and close the device -- no resource allocation or configuration. (GstAudioSinkClass.prepare, GstAudioSinkClass.unprepare): New vmethods, handle device setup and resource allocation. * ext/alsa/gstalsasink.c (gst_alsasink_open, gst_alsasink_close) (gst_alsasink_prepare, gst_alsasink_unprepare): Update for new base class API. * gst-libs/gst/audio/gstringbuffer.h (GstRingBufferClass.open_device, GstRingBufferClass.close_device): New vmethods. * gst-libs/gst/audio/gstringbuffer.c (gst_ring_buffer_open_device) (gst_ring_buffer_close_device, gst_ring_buffer_device_is_open): New API functions. The device should be opened before acquiring and closed after releasing. |
||
---|---|---|
.. | ||
.gitignore | ||
audio.c | ||
audio.def | ||
audio.h | ||
audio.vcproj | ||
audiofilter.vcproj | ||
gstaudioclock.c | ||
gstaudioclock.h | ||
gstaudiofilter.c | ||
gstaudiofilter.h | ||
gstaudiofiltertemplate.c | ||
gstaudiosink.c | ||
gstaudiosink.h | ||
gstaudiosrc.c | ||
gstaudiosrc.h | ||
gstbaseaudiosink.c | ||
gstbaseaudiosink.h | ||
gstbaseaudiosrc.c | ||
gstbaseaudiosrc.h | ||
gstringbuffer.c | ||
gstringbuffer.h | ||
make_filter | ||
Makefile.am | ||
multichannel.c | ||
multichannel.h | ||
testchannels.c | ||
TODO |