/[svn]/qsampler/trunk/src/qsamplerChannelStrip.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannelStrip.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 267 by capela, Wed Oct 6 15:42:59 2004 UTC revision 280 by capela, Mon Oct 11 12:27:39 2004 UTC
# Line 198  void qsamplerChannelStrip::updateChannel Line 198  void qsamplerChannelStrip::updateChannel
198      }      }
199    
200      // MIDI Port/Channel...      // MIDI Port/Channel...
201      if (m_pChannel->midiChannel() > 0)      if (m_pChannel->midiChannel() == LSCP_MIDI_CHANNEL_ALL)
         MidiPortChannelTextLabel->setText(QString("%1 / %2").arg(m_pChannel->midiPort()).arg(m_pChannel->midiChannel()));  
     else  
202          MidiPortChannelTextLabel->setText(QString("%1 / *").arg(m_pChannel->midiPort()));          MidiPortChannelTextLabel->setText(QString("%1 / *").arg(m_pChannel->midiPort()));
203        else
204            MidiPortChannelTextLabel->setText(QString("%1 / %2").arg(m_pChannel->midiPort()).arg(m_pChannel->midiChannel() + 1));
205    
206      // And update the both GUI volume elements.      // And update the both GUI volume elements.
207      updateChannelVolume();      updateChannelVolume();

Legend:
Removed from v.267  
changed lines
  Added in v.280

  ViewVC Help
Powered by ViewVC