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

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

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

revision 254 by capela, Tue Jul 6 10:54:45 2004 UTC revision 255 by capela, Tue Sep 28 16:17:43 2004 UTC
# Line 139  void qsamplerChannelForm::setup ( qsampl Line 139  void qsamplerChannelForm::setup ( qsampl
139      int iMidiChannel = pChannel->midiChannel();      int iMidiChannel = pChannel->midiChannel();
140      if (bNew)      if (bNew)
141          iMidiChannel = (pChannel->channelID() + 1) % 16;          iMidiChannel = (pChannel->channelID() + 1) % 16;
142      MidiChannelSpinBox->setValue(iMidiChannel);      MidiChannelComboBox->setCurrentItem(iMidiChannel);
143      // Audio output driver...      // Audio output driver...
144      QString sAudioDriver = pChannel->audioDriver();      QString sAudioDriver = pChannel->audioDriver();
145      if (sAudioDriver.isEmpty() && bNew)      if (sAudioDriver.isEmpty() && bNew)
# Line 178  void qsamplerChannelForm::accept (void) Line 178  void qsamplerChannelForm::accept (void)
178          if (!m_pChannel->setMidiPort(MidiPortSpinBox->value()))          if (!m_pChannel->setMidiPort(MidiPortSpinBox->value()))
179              iErrors++;              iErrors++;
180          // MIDI input channel...          // MIDI input channel...
181          if (!m_pChannel->setMidiChannel(MidiChannelSpinBox->value()))          if (!m_pChannel->setMidiChannel(MidiChannelComboBox->currentItem()))
182              iErrors++;              iErrors++;
183          // Engine name...          // Engine name...
184          if (!m_pChannel->loadEngine(EngineNameComboBox->currentText()))          if (!m_pChannel->loadEngine(EngineNameComboBox->currentText()))

Legend:
Removed from v.254  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC