From 4d0df9433c3a9ba3345c4d394b7ec20653ee6044 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 15 Mar 2007 11:39:53 +0000 Subject: Activate osxaudio in gst-plugins-good with proper build setup. Original commit message from CVS: * configure.ac: * sys/Makefile.am: * sys/osxaudio/Makefile.am: * sys/osxaudio/gstosxaudio.c: * sys/osxaudio/gstosxaudiosink.c: (gst_osx_audio_sink_osxelement_do_init), (gst_osx_audio_sink_init), (gst_osx_audio_sink_getcaps), (gst_osx_audio_sink_create_ringbuffer), (plugin_init): * sys/osxaudio/gstosxaudiosrc.c: (gst_osx_audio_src_osxelement_do_init), (gst_osx_audio_src_init), (gst_osx_audio_src_create_ringbuffer): * sys/osxaudio/gstosxringbuffer.c: (gst_osx_ring_buffer_get_type), (gst_osx_ring_buffer_class_init), (gst_osx_ring_buffer_init), (gst_osx_ring_buffer_acquire), (gst_osx_ring_buffer_start), (gst_osx_ring_buffer_pause), (gst_osx_ring_buffer_stop): * sys/osxaudio/gstosxringbuffer.h: Activate osxaudio in gst-plugins-good with proper build setup. Add inlined documentation. Fix debug statements Fix ringbuffer when pausing. Fixes #323471 --- sys/osxaudio/gstosxaudio.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'sys/osxaudio/gstosxaudio.c') diff --git a/sys/osxaudio/gstosxaudio.c b/sys/osxaudio/gstosxaudio.c index 6e9b87bf..8a79bed2 100644 --- a/sys/osxaudio/gstosxaudio.c +++ b/sys/osxaudio/gstosxaudio.c @@ -20,6 +20,27 @@ * */ +/** + * SECTION:element-osxaudiosink + * @short_description: play audio to an CoreAudio device + * + * + * + * This element renders raw audio samples using the CoreAudio api. + * + * Example pipelines + * + * Play an Ogg/Vorbis file. + * + * + * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! osxaudiosink + * + * + * + * Last reviewed on 2006-03-01 (0.10.4) + */ + + #ifdef HAVE_CONFIG_H #include "config.h" #endif -- cgit