--- linuxsampler/trunk/src/network/lscpserver.cpp 2004/05/08 19:03:17 68 +++ linuxsampler/trunk/src/network/lscpserver.cpp 2004/05/22 06:33:55 79 @@ -363,7 +363,7 @@ if (!pSamplerChannel) throw LinuxSamplerException("Index out of bounds"); if (!pSamplerChannel->GetMidiInputDevice()) throw LinuxSamplerException("No MIDI input device connected yet"); MidiInputDevice::type_t oldtype = pSamplerChannel->GetMidiInputDevice()->Type(); - pSamplerChannel->SetMidiInputDevice(oldtype, (MidiInputDevice::midi_chan_t) uiSamplerChannel); + pSamplerChannel->SetMidiInputDevice(oldtype, (MidiInputDevice::midi_chan_t) MIDIChannel); result.type = result_type_success; }