/[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 667 by senkov, Sun Jun 19 21:22:34 2005 UTC revision 670 by schoenebeck, Tue Jun 21 18:00:52 2005 UTC
# Line 1406  String LSCPServer::ResetChannel(uint uiS Line 1406  String LSCPServer::ResetChannel(uint uiS
1406          if (!pSamplerChannel) throw LinuxSamplerException("Invalid sampler channel number " + ToString(uiSamplerChannel));          if (!pSamplerChannel) throw LinuxSamplerException("Invalid sampler channel number " + ToString(uiSamplerChannel));
1407          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();
1408          if (!pEngineChannel) throw LinuxSamplerException("No engine type assigned to sampler channel");          if (!pEngineChannel) throw LinuxSamplerException("No engine type assigned to sampler channel");
1409          if (!pEngineChannel->GetEngine()) throw LinuxSamplerException("No audio output device connected to sampler channel");          pEngineChannel->Reset();
         pEngineChannel->GetEngine()->Reset();  
1410      }      }
1411      catch (LinuxSamplerException e) {      catch (LinuxSamplerException e) {
1412           result.Error(e);           result.Error(e);

Legend:
Removed from v.667  
changed lines
  Added in v.670

  ViewVC Help
Powered by ViewVC