summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-stream-control.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2015-09-26 16:37:51 +0200
committerMichal Ratajsky <[email protected]>2015-09-26 16:37:51 +0200
commit06b3b936980f2b12aabf4aff64230c86e81e8cff (patch)
tree2b35b71d5b89b522ecf761d9ffaa0fc77d2d7148 /backends/alsa/alsa-stream-control.c
parent8670d95c61f0ba3709e7558197f1dc9c466a450c (diff)
downloadlibmatemixer-06b3b936980f2b12aabf4aff64230c86e81e8cff.tar.bz2
libmatemixer-06b3b936980f2b12aabf4aff64230c86e81e8cff.tar.xz
alsa: Fix fade
Diffstat (limited to 'backends/alsa/alsa-stream-control.c')
-rw-r--r--backends/alsa/alsa-stream-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/alsa/alsa-stream-control.c b/backends/alsa/alsa-stream-control.c
index b60d50f..6e09a09 100644
--- a/backends/alsa/alsa-stream-control.c
+++ b/backends/alsa/alsa-stream-control.c
@@ -707,7 +707,7 @@ control_data_get_average_front_back (AlsaControlData *data, guint *front, guint
f += data->v[channel];
nf++;
}
- else if MATE_MIXER_IS_RIGHT_CHANNEL (data->c[channel]) {
+ else if MATE_MIXER_IS_BACK_CHANNEL (data->c[channel]) {
b += data->v[channel];
nb++;
}