diff options
author | James Courtier-Dutton <James@superbug.demon.co.uk> | 2006-10-13 22:25:33 +0100 |
---|---|---|
committer | James Courtier-Dutton <James@superbug.demon.co.uk> | 2006-10-13 22:25:33 +0100 |
commit | fb219cacb646a784fefd8101c0870814be005f9c (patch) | |
tree | 0f4a7457c2b16716eb541e2c5761d4a279979c97 /amixer | |
parent | ff26da1a3d6815ac549ab85b1b1660256d89298f (diff) |
Implement Playback/Capture enum.
Diffstat (limited to 'amixer')
-rw-r--r-- | amixer/amixer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/amixer/amixer.c b/amixer/amixer.c index a6592b3..2a8db60 100644 --- a/amixer/amixer.c +++ b/amixer/amixer.c @@ -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"); |