--- linuxsampler/trunk/src/network/lscpserver.h 2008/09/29 18:21:21 1781 +++ linuxsampler/trunk/src/network/lscpserver.h 2009/02/28 21:23:06 1848 @@ -79,6 +79,7 @@ LSCPServer(Sampler* pSampler, long int addr, short int port); virtual ~LSCPServer(); int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L); + void RemoveListeners(); // Methods called by the parser String DestroyAudioOutputDevice(uint DeviceIndex); @@ -197,6 +198,10 @@ String GetTotalStreamCount(); String GetTotalVoiceCount(); String GetTotalVoiceCountMax(); + String GetGlobalMaxVoices(); + String SetGlobalMaxVoices(int iVoices); + String GetGlobalMaxStreams(); + String SetGlobalMaxStreams(int iStreams); String GetGlobalVolume(); String SetGlobalVolume(double dVolume); String GetFileInstruments(String Filename); @@ -207,6 +212,7 @@ String UnsubscribeNotification(LSCPEvent::event_t); String SetEcho(yyparse_param_t* pSession, double boolean_value); void AnswerClient(String ReturnMessage); + void CloseAllConnections(); static int currentSocket; static std::map bufferedCommands;