157 |
// We'll go for it! |
// We'll go for it! |
158 |
if (m_iDirtyCount > 0) { |
if (m_iDirtyCount > 0) { |
159 |
int iErrors = 0; |
int iErrors = 0; |
160 |
// Engine name... |
// Audio output driver type... |
161 |
if (!m_pChannel->loadEngine(EngineNameComboBox->currentText())) |
if (!m_pChannel->setAudioDriver(AudioDriverComboBox->currentText())) |
162 |
iErrors++; |
iErrors++; |
163 |
// MIDI input driver type... |
// MIDI input driver type... |
164 |
if (!m_pChannel->setMidiDriver(MidiDriverComboBox->currentText())) |
if (!m_pChannel->setMidiDriver(MidiDriverComboBox->currentText())) |
169 |
// MIDI input channel... |
// MIDI input channel... |
170 |
if (!m_pChannel->setMidiChannel(MidiChannelSpinBox->value())) |
if (!m_pChannel->setMidiChannel(MidiChannelSpinBox->value())) |
171 |
iErrors++; |
iErrors++; |
172 |
// Audio output driver type... |
// Engine name... |
173 |
if (!m_pChannel->setAudioDriver(AudioDriverComboBox->currentText())) |
if (!m_pChannel->loadEngine(EngineNameComboBox->currentText())) |
174 |
iErrors++; |
iErrors++; |
175 |
// Instrument file and index... |
// Instrument file and index... |
176 |
if (!m_pChannel->loadInstrument(InstrumentFileComboBox->currentText(), InstrumentNrSpinBox->value())) |
if (!m_pChannel->loadInstrument(InstrumentFileComboBox->currentText(), InstrumentNrSpinBox->value())) |