chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4019fe4
)
alsa: set volume via Master rather than PCM.
author
Richard Kettlewell
<rjk@terraraq.org.uk>
Sat, 19 Jan 2013 18:37:45 +0000
(18:37 +0000)
committer
Richard Kettlewell
<rjk@terraraq.org.uk>
Sat, 19 Jan 2013 18:37:45 +0000
(18:37 +0000)
PulseAudio only has Master. AFAICS none of this stuff is documented
so who knows what you're supposed to do?
lib/uaudio-alsa.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/uaudio-alsa.c
b/lib/uaudio-alsa.c
index d5bff351830e68963e1151e3ae385bd3dfaaed3a..26169b0a828b886e6dcd4decfae141cfa5d12034 100644
(file)
--- 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)))