diff options
Diffstat (limited to 'gst-libs/gst/mixer/mixer.h')
-rw-r--r-- | gst-libs/gst/mixer/mixer.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gst-libs/gst/mixer/mixer.h b/gst-libs/gst/mixer/mixer.h index cfc16875..3af55ab7 100644 --- a/gst-libs/gst/mixer/mixer.h +++ b/gst-libs/gst/mixer/mixer.h @@ -40,11 +40,21 @@ G_BEGIN_DECLS #define GST_MIXER_GET_CLASS(inst) \ (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GST_TYPE_MIXER, GstMixerClass)) +#define GST_MIXER_TYPE(klass) (klass->mixer_type) + typedef struct _GstMixer GstMixer; +typedef enum +{ + GST_MIXER_HARDWARE, + GST_MIXER_SOFTWARE +} GstMixerType; + typedef struct _GstMixerClass { GTypeInterface klass; + GstMixerType mixer_type; + /* virtual functions */ const GList * (* list_tracks) (GstMixer *mixer); |