mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Capture Volume is also set
This commit is contained in:
parent
ec07b3ad20
commit
677d2aedd5
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue