--- qsampler/trunk/src/qsamplerChannelForm.ui 2005/02/11 08:46:58 367 +++ qsampler/trunk/src/qsamplerChannelForm.ui 2005/03/13 22:06:59 452 @@ -28,8 +28,8 @@ 0 0 - 430 - 255 + 455 + 303 @@ -272,7 +272,7 @@ MIDI / Input - + unnamed @@ -282,7 +282,15 @@ 8 - + + + MidiDriverComboBox + + + MIDI input driver type + + + MidiDriverTextLabel @@ -290,40 +298,35 @@ &Type: - AlignVCenter|AlignRight + AlignVCenter MidiDriverComboBox - - - - ALSA - - + - MidiDriverComboBox + MidiDeviceComboBox - MIDI input driver type + MIDI input device - + - MidiPortTextLabel + MidiDeviceTextLabel - &Port: + &Device: - AlignVCenter|AlignRight + AlignVCenter - MidiPortSpinBox + MidiDeviceComboBox - + MidiPortSpinBox @@ -331,21 +334,7 @@ MIDI input port number - - - MidiChannelTextLabel - - - &Channel: - - - AlignVCenter|AlignRight - - - MidiChannelComboBox - - - + 1 @@ -438,9 +427,23 @@ MIDI input channel - + - spacer2 + MidiChannelTextLabel + + + &Channel: + + + AlignVCenter|AlignRight + + + MidiChannelComboBox + + + + + spacer1 Horizontal @@ -450,12 +453,26 @@ - 8 + 16 8 - + + + MidiPortTextLabel + + + &Port: + + + AlignVCenter|AlignRight + + + MidiPortSpinBox + + + @@ -475,7 +492,7 @@ AlignAuto - + unnamed @@ -485,7 +502,23 @@ 8 - + + + AudioDeviceComboBox + + + Audio output device + + + + + AudioDriverComboBox + + + Audio output driver type + + + AudioDriverTextLabel @@ -493,33 +526,29 @@ &Type: - AlignVCenter|AlignRight + AlignVCenter AudioDriverComboBox - - - - ALSA - - - - - JACK - - + - AudioDriverComboBox + AudioDeviceTextLabel - - Audio output driver type + + &Device: + + + AlignVCenter + + + AudioDeviceComboBox - + - spacer3 + spacer2 Horizontal @@ -529,12 +558,12 @@ - 8 + 210 8 - + @@ -565,9 +594,9 @@ MidiDriverComboBox - activated(int) + activated(const QString &) qsamplerChannelForm - optionsChanged() + selectMidiDriver(const QString&) MidiPortSpinBox @@ -583,9 +612,9 @@ AudioDriverComboBox - activated(int) + activated(const QString &) qsamplerChannelForm - optionsChanged() + selectAudioDriver(const QString&) OkPushButton @@ -608,11 +637,14 @@ MidiDriverComboBox MidiPortSpinBox MidiChannelComboBox + MidiDeviceComboBox AudioDriverComboBox + AudioDeviceComboBox OkPushButton CancelPushButton + qsamplerDevice.h qsamplerChannel.h qsamplerChannelForm.ui.h @@ -620,12 +652,16 @@ qsamplerChannel *m_pChannel; int m_iDirtySetup; int m_iDirtyCount; + QPtrList < qsamplerDevice > m_audioDevices; + QPtrList < qsamplerDevice > m_midiDevices; accept() reject() openInstrumentFile() updateInstrumentName() + selectMidiDriver( const QString & sMidiDriver ) + selectAudioDriver( const QString & sAudioDriver ) optionsChanged() stabilizeForm()