/[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 1252 by schoenebeck, Sat Jun 23 15:54:18 2007 UTC revision 1337 by iliev, Sun Sep 9 23:27:23 2007 UTC
# Line 2173  String LSCPServer::EditSamplerChannelIns Line 2173  String LSCPServer::EditSamplerChannelIns
2173          if (!pSamplerChannel) throw Exception("Invalid sampler channel number " + ToString(uiSamplerChannel));          if (!pSamplerChannel) throw Exception("Invalid sampler channel number " + ToString(uiSamplerChannel));
2174          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();          EngineChannel* pEngineChannel = pSamplerChannel->GetEngineChannel();
2175          if (!pEngineChannel) throw Exception("No engine type assigned to sampler channel");          if (!pEngineChannel) throw Exception("No engine type assigned to sampler channel");
2176            if (pEngineChannel->InstrumentStatus() < 0) throw Exception("No instrument loaded to sampler channel");
2177          Engine* pEngine = pEngineChannel->GetEngine();          Engine* pEngine = pEngineChannel->GetEngine();
2178          InstrumentManager* pInstrumentManager = pEngine->GetInstrumentManager();          InstrumentManager* pInstrumentManager = pEngine->GetInstrumentManager();
2179          if (!pInstrumentManager) throw Exception("Engine does not provide an instrument manager");          if (!pInstrumentManager) throw Exception("Engine does not provide an instrument manager");

Legend:
Removed from v.1252  
changed lines
  Added in v.1337

  ViewVC Help
Powered by ViewVC