summaryrefslogtreecommitdiffstats
path: root/sys/oss/gstosselement.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/oss/gstosselement.h')
-rw-r--r--sys/oss/gstosselement.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/oss/gstosselement.h b/sys/oss/gstosselement.h
index 37c5f1ef..2890c411 100644
--- a/sys/oss/gstosselement.h
+++ b/sys/oss/gstosselement.h
@@ -37,6 +37,8 @@ G_BEGIN_DECLS
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_OSSELEMENT))
#define GST_IS_OSSELEMENT_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_OSSELEMENT))
+#define GST_OSSELEMENT_GET_CLASS(obj) \
+ (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_OSSELEMENT, GstOssElementClass))
typedef struct _GstOssElement GstOssElement;
typedef struct _GstOssElementClass GstOssElementClass;
@@ -46,6 +48,10 @@ typedef enum {
GST_OSSELEMENT_WRITE,
} GstOssOpenMode;
+typedef struct _GstOssDeviceCombination {
+ gchar *dsp, *mixer;
+} GstOssDeviceCombination;
+
struct _GstOssElement
{
/* yes, we're a gstelement too */
@@ -87,6 +93,8 @@ struct _GstOssElement
struct _GstOssElementClass {
GstElementClass klass;
+
+ GList *device_combinations;
};
GType gst_osselement_get_type (void);