2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) 2007,2008 Pioneers of the Inevitable <songbird@songbirdnest.com>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
20 * The development of this code was made possible due to the involvement of
21 * Pioneers of the Inevitable, the creators of the Songbird Music player
26 * SECTION:element-osxaudiosink
27 * @short_description: play audio to an CoreAudio device
31 * This element renders raw audio samples using the CoreAudio api.
33 * <title>Example pipelines</title>
35 * Play an Ogg/Vorbis file.
38 * gst-launch -v filesrc location=sine.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! osxaudiosink
42 * Last reviewed on 2006-03-01 (0.10.4)
51 #include "gstosxaudioelement.h"
52 #include "gstosxaudiosink.h"
53 #include "gstosxaudiosrc.h"
56 plugin_init (GstPlugin * plugin)
59 if (!gst_element_register (plugin, "osxaudiosink", GST_RANK_PRIMARY,
60 GST_TYPE_OSX_AUDIO_SINK)) {
63 if (!gst_element_register (plugin, "osxaudiosrc", GST_RANK_PRIMARY,
64 GST_TYPE_OSX_AUDIO_SRC)) {
71 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
74 "OSX (Mac OS X) audio support for GStreamer",
75 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)