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

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

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

revision 1771 by iliev, Wed Sep 10 15:02:24 2008 UTC revision 1848 by iliev, Sat Feb 28 21:23:06 2009 UTC
# Line 79  class LSCPServer : public Thread { Line 79  class LSCPServer : public Thread {
79          LSCPServer(Sampler* pSampler, long int addr, short int port);          LSCPServer(Sampler* pSampler, long int addr, short int port);
80          virtual ~LSCPServer();          virtual ~LSCPServer();
81          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);
82            void RemoveListeners();
83    
84          // Methods called by the parser          // Methods called by the parser
85          String DestroyAudioOutputDevice(uint DeviceIndex);          String DestroyAudioOutputDevice(uint DeviceIndex);
# Line 176  class LSCPServer : public Thread { Line 177  class LSCPServer : public Thread {
177          String SetDbInstrumentDirectoryDescription(String Dir, String Desc);          String SetDbInstrumentDirectoryDescription(String Dir, String Desc);
178          String FindDbInstrumentDirectories(String Dir, std::map<String,String> Parameters, bool Recursive = true);          String FindDbInstrumentDirectories(String Dir, std::map<String,String> Parameters, bool Recursive = true);
179          String AddDbInstruments(String DbDir, String FilePath, int Index = -1, bool bBackground = false);          String AddDbInstruments(String DbDir, String FilePath, int Index = -1, bool bBackground = false);
180          String AddDbInstruments(String ScanMode, String DbDir, String FsDir, bool bBackground = false);          String AddDbInstruments(String ScanMode, String DbDir, String FsDir, bool bBackground = false, bool insDir = false);
181          String RemoveDbInstrument(String Instr);          String RemoveDbInstrument(String Instr);
182          String GetDbInstrumentCount(String Dir, bool Recursive = false);          String GetDbInstrumentCount(String Dir, bool Recursive = false);
183          String GetDbInstruments(String Dir, bool Recursive = false);          String GetDbInstruments(String Dir, bool Recursive = false);
# Line 197  class LSCPServer : public Thread { Line 198  class LSCPServer : public Thread {
198          String GetTotalStreamCount();          String GetTotalStreamCount();
199          String GetTotalVoiceCount();          String GetTotalVoiceCount();
200          String GetTotalVoiceCountMax();          String GetTotalVoiceCountMax();
201            String GetGlobalMaxVoices();
202            String SetGlobalMaxVoices(int iVoices);
203            String GetGlobalMaxStreams();
204            String SetGlobalMaxStreams(int iStreams);
205          String GetGlobalVolume();          String GetGlobalVolume();
206          String SetGlobalVolume(double dVolume);          String SetGlobalVolume(double dVolume);
207          String GetFileInstruments(String Filename);          String GetFileInstruments(String Filename);
# Line 207  class LSCPServer : public Thread { Line 212  class LSCPServer : public Thread {
212          String UnsubscribeNotification(LSCPEvent::event_t);          String UnsubscribeNotification(LSCPEvent::event_t);
213          String SetEcho(yyparse_param_t* pSession, double boolean_value);          String SetEcho(yyparse_param_t* pSession, double boolean_value);
214          void   AnswerClient(String ReturnMessage);          void   AnswerClient(String ReturnMessage);
215            void   CloseAllConnections();
216    
217          static int currentSocket;          static int currentSocket;
218          static std::map<int,String> bufferedCommands;          static std::map<int,String> bufferedCommands;

Legend:
Removed from v.1771  
changed lines
  Added in v.1848

  ViewVC Help
Powered by ViewVC