summaryrefslogtreecommitdiff
path: root/backends/pulse
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-11-08 23:04:31 +0100
committerMichal Ratajsky <[email protected]>2014-11-08 23:04:31 +0100
commit44651c5d2334da5dd295eca9c2e530b99348bdd6 (patch)
treeff27dab4ba61563bf04442d7d2c5f0547e2dbaea /backends/pulse
parent068d95e1c28b0e20e692c5ecb24f044542e82ae9 (diff)
downloadlibmatemixer-44651c5d2334da5dd295eca9c2e530b99348bdd6.tar.bz2
libmatemixer-44651c5d2334da5dd295eca9c2e530b99348bdd6.tar.xz
Split MateMixerSwitchRole into MateMixerDeviceSwitchRole and MateMixerStreamSwitchRole
Diffstat (limited to 'backends/pulse')
-rw-r--r--backends/pulse/pulse-device-switch.c2
-rw-r--r--backends/pulse/pulse-sink-switch.c2
-rw-r--r--backends/pulse/pulse-source-switch.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/backends/pulse/pulse-device-switch.c b/backends/pulse/pulse-device-switch.c
index b41d8ea..c6b8316 100644
--- a/backends/pulse/pulse-device-switch.c
+++ b/backends/pulse/pulse-device-switch.c
@@ -92,7 +92,7 @@ pulse_device_switch_new (const gchar *name, const gchar *label, PulseDevice *dev
return g_object_new (PULSE_TYPE_DEVICE_SWITCH,
"name", name,
"label", label,
- "role", MATE_MIXER_SWITCH_ROLE_DEVICE_PROFILE,
+ "role", MATE_MIXER_DEVICE_SWITCH_ROLE_PROFILE,
"device", device,
NULL);
}
diff --git a/backends/pulse/pulse-sink-switch.c b/backends/pulse/pulse-sink-switch.c
index 0e08dac..62aca94 100644
--- a/backends/pulse/pulse-sink-switch.c
+++ b/backends/pulse/pulse-sink-switch.c
@@ -55,7 +55,7 @@ pulse_sink_switch_new (const gchar *name, const gchar *label, PulseSink *sink)
return g_object_new (PULSE_TYPE_SINK_SWITCH,
"name", name,
"label", label,
- "role", MATE_MIXER_SWITCH_ROLE_PORT,
+ "role", MATE_MIXER_STREAM_SWITCH_ROLE_PORT,
"stream", sink,
NULL);
}
diff --git a/backends/pulse/pulse-source-switch.c b/backends/pulse/pulse-source-switch.c
index 178702e..9616bb1 100644
--- a/backends/pulse/pulse-source-switch.c
+++ b/backends/pulse/pulse-source-switch.c
@@ -55,7 +55,7 @@ pulse_source_switch_new (const gchar *name, const gchar *label, PulseSource *sou
return g_object_new (PULSE_TYPE_SOURCE_SWITCH,
"name", name,
"label", label,
- "role", MATE_MIXER_SWITCH_ROLE_PORT,
+ "role", MATE_MIXER_STREAM_SWITCH_ROLE_PORT,
"stream", source,
NULL);
}