rem: set(MUIChannels, MUIA_Numeric_Max, Max); set(MUIChannels, MUIA_Disabled, (Max == 1) || state.ChannelsDisabled);
context: static void GUINewMode(void){  int Max, Sel;  STRPTR buffer;  infoargs[0] = (char *) getAudioMode();  infoargs[1] = getRecord();  infoargs[2] = getAuthor();  infoargs[3] = getCopyright();  infoargs[4] = getDriver();  infoargs[5] = getVersion();  if(buffer = AllocVec(strlen(infoargs[1]) + strlen(infoargs[2]) +                       strlen(infoargs[3]) + strlen(infoargs[4]) +                       strlen(infoargs[5]) + 128, MEMF_ANY))  {    SPrintfA(buffer,"0x%08lx\n%s\n%s\n%s\nDevs:AHI/%s.audio\n%s", (APTR)infoargs);    set(MUIInfos, MUIA_Text_Contents, buffer);    FreeVec(buffer);  }  Max = max(state.Frequencies -1, 0);  Sel = min(Max, state.FreqSelected);  set(MUIFreq, MUIA_Numeric_Value, Sel);  set(MUIFreq, MUIA_Numeric_Max, Max);  set(MUIFreq, MUIA_Disabled, Max==0);  set(MUILFreq, MUIA_Text_Contents, getFreq());  Max = max(state.Channels, 0);  Sel = min(Max, state.ChannelsSelected);  set(MUIChannels, MUIA_Numeric_Value, Sel);  set(MUIChannels, MUIA_Numeric_Max, Max);  set(MUIChannels, MUIA_Disabled, (Max == 1) || state.ChannelsDisabled);  set(MUILChannels, MUIA_Text_Contents, getChannels());  Max = max(state.OutVols -1, 0);  Sel = min(Max, state.OutVolSelected);  set(MUIOutvol, MUIA_Numeric_Value, Sel);  set(MUIOutvol, MUIA_Numeric_Max, Max);  set(MUIOutvol, MUIA_Disabled, Max==0);  set(MUILOutvol, MUIA_Text_Contents, getOutVol());  Max = max(state.MonVols -1, 0);  Sel = min(Max, state.MonVolSelected);  set(MUIMonvol, MUIA_Numeric_Value, Sel);  set(MUIMonvol, MUIA_Numeric_Max, Max);  set(MUIMonvol, MUIA_Disabled, Max==0);  set(MUILMonvol, MUIA_Text_Contents, getMonVol());  Max = max(state.Gains -1, 0);  Sel = min(Max, state.GainSelected);  set(MUIGain, MUIA_Numeric_Value, Sel);  set(MUIGain, MUIA_Numeric_Max, Max);  set(MUIGain, MUIA_Disabled, Max==0);  set(MUILGain, MUIA_Text_Contents, getGain());  Max = max(state.Inputs -1, 0);  Sel = min(Max, state.InputSelected);  set(MUIInput, MUIA_Numeric_Value, Sel);  set(MUIInput, MUIA_Numeric_Max, Max);  set(MUIInput, MUIA_Disabled, Max==0);  set(MUILInput, MUIA_Text_Contents, getInput());  Max = max(state.Outputs -1, 0);  Sel = min(Max, state.OutputSelected);  set(MUIOutput, MUIA_Numeric_Value, Sel);  set(MUIOutput, MUIA_Numeric_Max, Max);  set(MUIOutput, MUIA_Disabled, Max==0);  set(MUILOutput, MUIA_Text_Contents, getOutput());}