summaryrefslogtreecommitdiff
path: root/mate-volume-control/src/mvc-helpers.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-08-18 21:06:59 +0200
committerinfirit <[email protected]>2014-10-09 16:53:01 +0200
commit97facb3e1a1183a872b77bb18e2636b5ec68f1f5 (patch)
tree68c65328833340846d5c2960ba7b4bb1264e98d8 /mate-volume-control/src/mvc-helpers.c
parent94bf8fd464923b7a55d3b6447962d91af4c6f09e (diff)
downloadmate-media-97facb3e1a1183a872b77bb18e2636b5ec68f1f5.tar.bz2
mate-media-97facb3e1a1183a872b77bb18e2636b5ec68f1f5.tar.xz
Global update
Diffstat (limited to 'mate-volume-control/src/mvc-helpers.c')
-rw-r--r--mate-volume-control/src/mvc-helpers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-volume-control/src/mvc-helpers.c b/mate-volume-control/src/mvc-helpers.c
index b82d6c8..7488743 100644
--- a/mate-volume-control/src/mvc-helpers.c
+++ b/mate-volume-control/src/mvc-helpers.c
@@ -100,14 +100,14 @@ mvc_channel_position_to_pretty_string (MateMixerChannelPosition position)
}
const gchar *
-mvc_channel_map_to_pretty_string (MateMixerStream *stream)
+mvc_channel_map_to_pretty_string (MateMixerStreamControl *control)
{
- g_return_val_if_fail (MATE_MIXER_IS_STREAM (stream), NULL);
+ g_return_val_if_fail (MATE_MIXER_IS_STREAM_CONTROL (control), NULL);
-#define HAS_POSITION(p) (mate_mixer_stream_has_channel_position (stream, (p)))
+#define HAS_POSITION(p) (mate_mixer_stream_control_has_channel_position (control, (p)))
/* Modeled after PulseAudio 5.0, probably could be extended with other combinations */
- switch (mate_mixer_stream_get_num_channels (stream)) {
+ switch (mate_mixer_stream_control_get_num_channels (control)) {
case 1:
if (HAS_POSITION (MATE_MIXER_CHANNEL_MONO))
return _("Mono");