summaryrefslogtreecommitdiff
path: root/backends/pulse/pulse-stream-control.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-09-07 23:08:24 +0200
committerMichal Ratajsky <[email protected]>2014-09-07 23:08:24 +0200
commitbbc396a44ab07df63e1a755c36ef7c210475d7c5 (patch)
tree3c7a2a9908c70f451be5295a34c1872e8d81c630 /backends/pulse/pulse-stream-control.c
parent3c4f6e0bfbc6fdca6f0e18c83a02fbfd050d1083 (diff)
downloadlibmatemixer-bbc396a44ab07df63e1a755c36ef7c210475d7c5.tar.bz2
libmatemixer-bbc396a44ab07df63e1a755c36ef7c210475d7c5.tar.xz
Fix PulseAudio channel constant conversion
Diffstat (limited to 'backends/pulse/pulse-stream-control.c')
-rw-r--r--backends/pulse/pulse-stream-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/pulse/pulse-stream-control.c b/backends/pulse/pulse-stream-control.c
index fa17e6b..f61a616 100644
--- a/backends/pulse/pulse-stream-control.c
+++ b/backends/pulse/pulse-stream-control.c
@@ -550,7 +550,7 @@ pulse_stream_control_get_channel_position (MateMixerStreamControl *mmsc, guint c
if (channel >= control->priv->channel_map.channels)
return MATE_MIXER_CHANNEL_UNKNOWN;
- return pulse_convert_position_to_pulse (control->priv->channel_map.map[channel]);
+ return pulse_convert_position_from_pulse (control->priv->channel_map.map[channel]);
}
static gboolean