From 4f96b17ef39f9b75bb69fdb592efa82ac2f17721 Mon Sep 17 00:00:00 2001 From: Richard Kettlewell Date: Sat, 19 Jan 2013 18:37:45 +0000 Subject: [PATCH] alsa: set volume via Master rather than PCM. PulseAudio only has Master. AFAICS none of this stuff is documented so who knows what you're supposed to do? --- lib/uaudio-alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/uaudio-alsa.c b/lib/uaudio-alsa.c index d5bff35..26169b0 100644 --- a/lib/uaudio-alsa.c +++ b/lib/uaudio-alsa.c @@ -170,7 +170,7 @@ static void alsa_open_mixer(void) { snd_mixer_selem_id_t *id; const char *device = uaudio_get("device", "default"); const char *mixer = uaudio_get("mixer-control", "0"); - const char *channel = uaudio_get("mixer-channel", "PCM"); + const char *channel = uaudio_get("mixer-channel", "Master"); snd_mixer_selem_id_alloca(&id); if((err = snd_mixer_open(&alsa_mixer_handle, 0))) -- 2.11.0