summaryrefslogtreecommitdiff
path: root/alsamixer
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2005-05-28 16:06:14 +0000
committerJames Courtier-Dutton <James@superbug.co.uk>2005-05-28 16:06:14 +0000
commitae524665a949bdceb2165467dea642658fc636ee (patch)
treeaaf53f21016aea98e20f080ad8546fdbc6f7cfe3 /alsamixer
parent08e1bde353ac0ecbc4a740416a2ebfcad572294d (diff)
Comment out a section that causes an assert in alsamixer, until this section of code works.
Diffstat (limited to 'alsamixer')
-rw-r--r--alsamixer/alsamixer.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c
index 5af9853..84286da 100644
--- a/alsamixer/alsamixer.c
+++ b/alsamixer/alsamixer.c
@@ -962,9 +962,10 @@ mixer_update_cbar (int elem_index)
snd_mixer_selem_get_playback_switch(elem, chn_right, &swr);
extra_info = !swl && !swr ? " [Off]" : "";
}
+#if 0
if (mixer_type[elem_index] & MIXER_ELEM_ENUM) {
while (1) {
- int eidx, err, length;
+ unsigned int eidx, err, length;
char tmp[50];
tmp[0]=' ';
tmp[1]='[';
@@ -981,6 +982,7 @@ mixer_update_cbar (int elem_index)
break;
}
}
+#endif
display_item_info(elem_index, sid, extra_info);
}