mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 00:36:31 +01:00
Implement Playback/Capture enum.
This commit is contained in:
parent
ff26da1a3d
commit
fb219cacb6
1 changed files with 5 additions and 1 deletions
|
@ -714,7 +714,11 @@ static int show_selem(snd_mixer_t *handle, snd_mixer_selem_id_t *id, const char
|
|||
printf(" cswitch-exclusive");
|
||||
}
|
||||
}
|
||||
if (snd_mixer_selem_is_enumerated(elem)) {
|
||||
if (snd_mixer_selem_is_enum_playback(elem)) {
|
||||
printf(" penum");
|
||||
} else if (snd_mixer_selem_is_enum_capture(elem)) {
|
||||
printf(" cenum");
|
||||
} else if (snd_mixer_selem_is_enumerated(elem)) {
|
||||
printf(" enum");
|
||||
}
|
||||
printf("\n");
|
||||
|
|
Loading…
Reference in a new issue