Introduction
Introduction Statistics Contact Development Disclaimer Help
tmix: Use unknown channel instead of front left - spoon - dwm status utility (2…
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit 44c65688aa9526fbd1e075a6f5af3a74391722d0
parent 74618e7b6e043eb00f575555fa996ccfd081e6f0
Author: Lazaros Koromilas <[email protected]>
Date: Thu, 15 Mar 2018 13:54:00 +0200
mix: Use unknown channel instead of front left
Diffstat:
M mix.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mix.c b/mix.c
t@@ -78,7 +78,7 @@ mixer_elem_cb(snd_mixer_elem_t *elem, unsigned int mask)
long min, max, vol;
int r;
- r = snd_mixer_selem_get_playback_switch(elem, SND_MIXER_SCHN_FRONT_LEF…
+ r = snd_mixer_selem_get_playback_switch(elem, SND_MIXER_SCHN_UNKNOWN, …
if (r < 0) {
warnx("snd_mixer_selem_get_playback_switch: %s",
snd_strerror(r));
t@@ -92,7 +92,7 @@ mixer_elem_cb(snd_mixer_elem_t *elem, unsigned int mask)
return -1;
}
r = snd_mixer_selem_get_playback_volume(elem,
- SND_MIXER_SCHN_FRONT_LEFT, &vol);
+ SND_MIXER_SCHN_UNKNOWN, &vol);
if (r < 0) {
warnx("snd_mixer_selem_get_playback_volume: %s",
snd_strerror(r));
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.