/[svn]/linuxsampler/trunk/src/network/lscpserver.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/network/lscpserver.cpp

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

revision 570 by schoenebeck, Mon May 23 17:37:26 2005 UTC revision 579 by schoenebeck, Tue May 24 19:20:20 2005 UTC
# Line 1391  String LSCPServer::ResetChannel(uint uiS Line 1391  String LSCPServer::ResetChannel(uint uiS
1391          if (!pSamplerChannel) throw LinuxSamplerException("Invalid sampler channel number " + ToString(uiSamplerChannel));          if (!pSamplerChannel) throw LinuxSamplerException("Invalid sampler channel number " + ToString(uiSamplerChannel));
1392          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();
1393          if (!pEngineChannel) throw LinuxSamplerException("No engine type assigned to sampler channel");          if (!pEngineChannel) throw LinuxSamplerException("No engine type assigned to sampler channel");
1394            if (!pEngineChannel->GetEngine()) throw LinuxSamplerException("No audio output device connected to sampler channel");
1395          pEngineChannel->GetEngine()->Reset();          pEngineChannel->GetEngine()->Reset();
1396      }      }
1397      catch (LinuxSamplerException e) {      catch (LinuxSamplerException e) {

Legend:
Removed from v.570  
changed lines
  Added in v.579

  ViewVC Help
Powered by ViewVC