summaryrefslogtreecommitdiffstats
path: root/plugins/audio/audio-alsa.h
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-22 15:17:37 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-22 15:17:37 +0100
commit6f2913ab5e366e8f3df12a7df11a85b7b6574e2c (patch)
tree60bb00a0b8fe0dadefbdbeb9c01445b5b645d7f3 /plugins/audio/audio-alsa.h
parent1b238baa74d36f144581deee5f3a1834d1d445bb (diff)
Audio API: manage multiple-channel volume
You can now set the volume for multiple channels independantly by using the "value=<1>,<2>..." syntax. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'plugins/audio/audio-alsa.h')
-rw-r--r--plugins/audio/audio-alsa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/audio/audio-alsa.h b/plugins/audio/audio-alsa.h
index 56b4f55f..85545d57 100644
--- a/plugins/audio/audio-alsa.h
+++ b/plugins/audio/audio-alsa.h
@@ -39,7 +39,7 @@ struct dev_ctx {
};
STATIC void* _play_thread_fn (void *);
-PUBLIC unsigned int _alsa_get_volume (unsigned int);
+PUBLIC int _alsa_get_volume (unsigned int, unsigned int);
PUBLIC unsigned char _alsa_get_mute (unsigned int);
static struct dev_ctx **dev_ctx = NULL;