]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Comment out a section that causes an assert in alsamixer, until this section of code...
authorJames Courtier-Dutton <James@superbug.co.uk>
Sat, 28 May 2005 16:06:14 +0000 (16:06 +0000)
committerJames Courtier-Dutton <James@superbug.co.uk>
Sat, 28 May 2005 16:06:14 +0000 (16:06 +0000)
alsamixer/alsamixer.c

index 5af985312b4d04266a4c2c78e32d4fb38a38b4f4..84286daa713f9c7b6fa8562e19cba19b68b57b8e 100644 (file)
@@ -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);
   }