Merge remote-tracking branch 'gst-omx/tizen_gst_1.19.2' into tizen_gst_1.19.2_mono
[platform/upstream/gstreamer.git] / omx / gstomxanalogaudiosink.h
1 /*
2  * Copyright (C) 2014, Fluendo, S.A.
3  * Copyright (C) 2014, Metrological Media Innovations B.V.
4  *   Author: Josep Torra <josep@fluendo.com>
5  *
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.
10  *
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.
15  *
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
19  *
20  */
21
22 #ifndef __GST_OMX_ANALOG_AUDIO_SINK_H__
23 #define __GST_OMX_ANALOG_AUDIO_SINK_H__
24
25 #include <gst/gst.h>
26 #include "gstomxaudiosink.h"
27
28 G_BEGIN_DECLS
29
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))
42
43 typedef struct _GstOMXAnalogAudioSink GstOMXAnalogAudioSink;
44 typedef struct _GstOMXAnalogAudioSinkClass GstOMXAnalogAudioSinkClass;
45
46 struct _GstOMXAnalogAudioSink
47 {
48   GstOMXAudioSink parent;
49 };
50
51 struct _GstOMXAnalogAudioSinkClass
52 {
53   GstOMXAudioSinkClass parent_class;
54 };
55
56 GType gst_omx_analog_audio_sink_get_type (void);
57
58 G_END_DECLS
59
60 #endif /* __GST_OMX_ANALOG_AUDIO_SINK_H__ */
61