blob: dd3a7f7ee248106a88fc818fe41026f519973bc7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#ifndef __GST_SUNAUDIO_MIXER_H
#define __GST_SUNAUDIO_MIXER_H
#include <gst/gst.h>
#include <gst/mixer/mixer.h>
#include "gstsunelement.h"
G_BEGIN_DECLS
#define GST_TYPE_SUNAUDIOMIXER_TRACK \
(gst_sunaudiomixer_track_get_type ())
#define GST_SUNAUDIOMIXER_TRACK(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_SUNAUDIOMIXER_TRACK, \
GstSunAudioMixerTrack))
#define GST_SUNAUDIOMIXER_TRACK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_SUNAUDIOMIXER_TRACK, \
GstSunAudioMixerTrackClass))
#define GST_IS_SUNAUDIOMIXER_TRACK(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_SUNAUDIOMIXER_TRACK))
#define GST_IS_SUNAUDIOMIXER_TRACK_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_SUNAUDIOMIXER_TRACK))
typedef struct _GstSunAudioMixerTrack {
GstMixerTrack parent;
gint lvol, rvol;
gint track_num;
} GstSunAudioMixerTrack;
typedef struct _GstSunAudioMixerTrackClass {
GstMixerTrackClass parent;
} GstSunAudioMixerTrackClass;
GType gst_sunaudiomixer_track_get_type (void);
void gst_sunaudiomixer_interface_init (GstMixerClass *klass);
void gst_sunaudio_interface_init (GstImplementsInterfaceClass *klass);
void gst_sunaudiomixer_build_list (GstSunAudioElement *sunaudio);
void gst_sunaudiomixer_free_list (GstSunAudioElement *sunaudio);
G_END_DECLS
#endif
|