summaryrefslogtreecommitdiff
path: root/backends/oss/oss-switch.h
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-08 20:31:26 +0100
committerMichal Ratajsky <[email protected]>2014-11-08 20:31:26 +0100
commit6d156916d8455cb8edef0e90020026d395dd82a0 (patch)
tree1d0b895eb122cac84cf8a59134dd00d772c280de /backends/oss/oss-switch.h
parent69b3a5c03321071ebc640d66e98bbf41c709938a (diff)
downloadlibmatemixer-6d156916d8455cb8edef0e90020026d395dd82a0.tar.bz2
libmatemixer-6d156916d8455cb8edef0e90020026d395dd82a0.tar.xz
oss: Use MateMixerStreamSwitch
Diffstat (limited to 'backends/oss/oss-switch.h')
-rw-r--r--backends/oss/oss-switch.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/oss/oss-switch.h b/backends/oss/oss-switch.h
index dc91758..520d0c9 100644
--- a/backends/oss/oss-switch.h
+++ b/backends/oss/oss-switch.h
@@ -44,7 +44,7 @@ typedef struct _OssSwitchPrivate OssSwitchPrivate;
struct _OssSwitch
{
- MateMixerSwitch parent;
+ MateMixerStreamSwitch parent;
/*< private >*/
OssSwitchPrivate *priv;
@@ -52,12 +52,13 @@ struct _OssSwitch
struct _OssSwitchClass
{
- MateMixerSwitchClass parent_class;
+ MateMixerStreamSwitchClass parent_class;
};
GType oss_switch_get_type (void) G_GNUC_CONST;
-OssSwitch *oss_switch_new (const gchar *name,
+OssSwitch *oss_switch_new (OssStream *stream,
+ const gchar *name,
const gchar *label,
gint fd,
GList *options);