mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 04:15:44 +01:00
Comment out a section that causes an assert in alsamixer, until this section of code works.
This commit is contained in:
parent
08e1bde353
commit
ae524665a9
1 changed files with 3 additions and 1 deletions
|
@ -962,9 +962,10 @@ mixer_update_cbar (int elem_index)
|
||||||
snd_mixer_selem_get_playback_switch(elem, chn_right, &swr);
|
snd_mixer_selem_get_playback_switch(elem, chn_right, &swr);
|
||||||
extra_info = !swl && !swr ? " [Off]" : "";
|
extra_info = !swl && !swr ? " [Off]" : "";
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (mixer_type[elem_index] & MIXER_ELEM_ENUM) {
|
if (mixer_type[elem_index] & MIXER_ELEM_ENUM) {
|
||||||
while (1) {
|
while (1) {
|
||||||
int eidx, err, length;
|
unsigned int eidx, err, length;
|
||||||
char tmp[50];
|
char tmp[50];
|
||||||
tmp[0]=' ';
|
tmp[0]=' ';
|
||||||
tmp[1]='[';
|
tmp[1]='[';
|
||||||
|
@ -981,6 +982,7 @@ mixer_update_cbar (int elem_index)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
display_item_info(elem_index, sid, extra_info);
|
display_item_info(elem_index, sid, extra_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue