From ae524665a949bdceb2165467dea642658fc636ee Mon Sep 17 00:00:00 2001 From: James Courtier-Dutton Date: Sat, 28 May 2005 16:06:14 +0000 Subject: [PATCH] Comment out a section that causes an assert in alsamixer, until this section of code works. --- alsamixer/alsamixer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }