--- lscpserver.cpp 2005-05-24 00:22:27.000000000 +0300 +++ lscpserver.cpp.new 2005-05-24 12:17:14.000000000 +0300 @@ -1391,6 +1391,7 @@ if (!pSamplerChannel) throw LinuxSamplerException("Invalid sampler channel number " + ToString(uiSamplerChannel)); EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel(); if (!pEngineChannel) throw LinuxSamplerException("No engine type assigned to sampler channel"); + if (!pEngineChannel->GetEngine()) throw LinuxSamplerException("No audio output device connected to sampler channel"); pEngineChannel->GetEngine()->Reset(); } catch (LinuxSamplerException e) {