From 677d2aedd5bf98d49b3d14fbba13bcd43ec2f931 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 18 Aug 2000 17:12:11 +0000 Subject: [PATCH] Capture Volume is also set --- src/mixer/simple.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mixer/simple.c b/src/mixer/simple.c index 17b48bd6..47156e18 100644 --- a/src/mixer/simple.c +++ b/src/mixer/simple.c @@ -292,6 +292,8 @@ static int input_put(snd_mixer_t *handle, mixer_simple_t *simple, snd_mixer_simp if (simple->caps & SND_MIXER_SCTCAP_VOLUME) { if (simple->present & MIXER_PRESENT_PLAYBACK_VOLUME) { input_put_volume(handle, simple, control, "Playback ", simple->pvolume_values); + if (simple->present & MIXER_PRESENT_CAPTURE_VOLUME) + input_put_volume(handle, simple, control, "Capture ", simple->cvolume_values); } else if (simple->present & MIXER_PRESENT_GLOBAL_VOLUME) { input_put_volume(handle, simple, control, "", simple->gvolume_values); } -- 2.47.1