/[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 2137 by schoenebeck, Mon Oct 4 12:20:23 2010 UTC revision 2138 by schoenebeck, Mon Oct 4 22:11:53 2010 UTC
# Line 2624  String LSCPServer::CreateEffectInstance( Line 2624  String LSCPServer::CreateEffectInstance(
2624          if (!pEffectInfo)          if (!pEffectInfo)
2625              throw Exception("There is no effect with index " + ToString(iEffectIndex));              throw Exception("There is no effect with index " + ToString(iEffectIndex));
2626          Effect* pEffect = EffectFactory::Create(pEffectInfo);          Effect* pEffect = EffectFactory::Create(pEffectInfo);
2627          result.Add(pEffect->ID());          result = pEffect->ID(); // success
2628      } catch (Exception e) {      } catch (Exception e) {
2629          result.Error(e);          result.Error(e);
2630      }      }
# Line 2768  String LSCPServer::AddSendEffectChain(in Line 2768  String LSCPServer::AddSendEffectChain(in
2768              throw Exception("There is no audio output device with index " + ToString(iAudioOutputDevice) + ".");              throw Exception("There is no audio output device with index " + ToString(iAudioOutputDevice) + ".");
2769          AudioOutputDevice* pDevice = devices[iAudioOutputDevice];          AudioOutputDevice* pDevice = devices[iAudioOutputDevice];
2770          EffectChain* pEffectChain = pDevice->AddSendEffectChain();          EffectChain* pEffectChain = pDevice->AddSendEffectChain();
2771          result.Add(pEffectChain->ID());          result = pEffectChain->ID();
2772      } catch (Exception e) {      } catch (Exception e) {
2773          result.Error(e);          result.Error(e);
2774      }      }

Legend:
Removed from v.2137  
changed lines
  Added in v.2138

  ViewVC Help
Powered by ViewVC