2 * Copyright (C) 2014, Fluendo, S.A.
3 * Copyright (C) 2014, Metrological Media Innovations B.V.
4 * Author: Josep Torra <josep@fluendo.com>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation
9 * version 2.1 of the License.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef __GST_OMX_ANALOG_AUDIO_SINK_H__
23 #define __GST_OMX_ANALOG_AUDIO_SINK_H__
26 #include "gstomxaudiosink.h"
30 #define GST_TYPE_OMX_ANALOG_AUDIO_SINK \
31 (gst_omx_analog_audio_sink_get_type())
32 #define GST_OMX_ANALOG_AUDIO_SINK(obj) \
33 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_OMX_ANALOG_AUDIO_SINK,GstOMXAnalogAudioSink))
34 #define GST_OMX_ANALOG_AUDIO_SINK_CLASS(klass) \
35 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_OMX_ANALOG_AUDIO_SINK,GstOMXAnalogAudioSinkClass))
36 #define GST_OMX_ANALOG_AUDIO_SINK_GET_CLASS(obj) \
37 (G_TYPE_INSTANCE_GET_CLASS((obj),GST_TYPE_OMX_ANALOG_AUDIO_SINK,GstOMXAnalogAudioSinkClass))
38 #define GST_IS_OMX_ANALOG_AUDIO_SINK(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OMX_ANALOG_AUDIO_SINK))
40 #define GST_IS_OMX_ANALOG_AUDIO_SINK_CLASS(obj) \
41 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OMX_ANALOG_AUDIO_SINK))
43 typedef struct _GstOMXAnalogAudioSink GstOMXAnalogAudioSink;
44 typedef struct _GstOMXAnalogAudioSinkClass GstOMXAnalogAudioSinkClass;
46 struct _GstOMXAnalogAudioSink
48 GstOMXAudioSink parent;
51 struct _GstOMXAnalogAudioSinkClass
53 GstOMXAudioSinkClass parent_class;
56 GType gst_omx_analog_audio_sink_get_type (void);
60 #endif /* __GST_OMX_ANALOG_AUDIO_SINK_H__ */