/[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 2137 by schoenebeck, Mon Oct 4 12:20:23 2010 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 165  class LSCPServer : public Thread { Line 166  class LSCPServer : public Thread {
166          String SetFxSendAudioOutputChannel(uint uiSamplerChannel, uint FxSendID, uint FxSendChannel, uint DeviceChannel);          String SetFxSendAudioOutputChannel(uint uiSamplerChannel, uint FxSendID, uint FxSendChannel, uint DeviceChannel);
167          String SetFxSendMidiController(uint uiSamplerChannel, uint FxSendID, uint MidiController);          String SetFxSendMidiController(uint uiSamplerChannel, uint FxSendID, uint MidiController);
168          String SetFxSendLevel(uint uiSamplerChannel, uint FxSendID, double dLevel);          String SetFxSendLevel(uint uiSamplerChannel, uint FxSendID, double dLevel);
169            String SetFxSendEffect(uint uiSamplerChannel, uint FxSendID, int iSendEffectChain, int iEffectChainPosition);
170    
171            // effect commands
172            String GetAvailableEffects();
173            String ListAvailableEffects();
174            String GetEffectInfo(int iEffectIndex);
175            String CreateEffectInstance(int iEffectIndex);
176            String CreateEffectInstance(String effectSystem, String module, String effectName);
177            String DestroyEffectInstance(int iEffectInstance);
178            String GetEffectInstances();
179            String ListEffectInstances();
180            String GetEffectInstanceInfo(int iEffectInstance);
181            String GetEffectInstanceInputControlInfo(int iEffectInstance, int iInputControlIndex);
182            String SetEffectInstanceInputControlValue(int iEffectInstance, int iInputControlIndex, double dValue);
183            String GetSendEffectChains(int iAudioOutputDevice);
184            String ListSendEffectChains(int iAudioOutputDevice);
185            String AddSendEffectChain(int iAudioOutputDevice);
186            String RemoveSendEffectChain(int iAudioOutputDevice, int iSendEffectChain);
187            String GetSendEffectChainInfo(int iAudioOutputDevice, int iSendEffectChain);
188            String AppendSendEffectChainEffect(int iAudioOutputDevice, int iSendEffectChain, int iEffectInstance);
189            String InsertSendEffectChainEffect(int iAudioOutputDevice, int iSendEffectChain, int iEffectChainPosition, int iEffectInstance);
190            String RemoveSendEffectChainEffect(int iAudioOutputDevice, int iSendEffectChain, int iEffectChainPosition);
191    
192          String AddDbInstrumentDirectory(String Dir);          String AddDbInstrumentDirectory(String Dir);
193          String RemoveDbInstrumentDirectory(String Dir, bool Force = false);          String RemoveDbInstrumentDirectory(String Dir, bool Force = false);
194          String GetDbInstrumentDirectoryCount(String Dir, bool Recursive = false);          String GetDbInstrumentDirectoryCount(String Dir, bool Recursive = false);
# Line 176  class LSCPServer : public Thread { Line 200  class LSCPServer : public Thread {
200          String SetDbInstrumentDirectoryDescription(String Dir, String Desc);          String SetDbInstrumentDirectoryDescription(String Dir, String Desc);
201          String FindDbInstrumentDirectories(String Dir, std::map<String,String> Parameters, bool Recursive = true);          String FindDbInstrumentDirectories(String Dir, std::map<String,String> Parameters, bool Recursive = true);
202          String AddDbInstruments(String DbDir, String FilePath, int Index = -1, bool bBackground = false);          String AddDbInstruments(String DbDir, String FilePath, int Index = -1, bool bBackground = false);
203          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);
204          String RemoveDbInstrument(String Instr);          String RemoveDbInstrument(String Instr);
205          String GetDbInstrumentCount(String Dir, bool Recursive = false);          String GetDbInstrumentCount(String Dir, bool Recursive = false);
206          String GetDbInstruments(String Dir, bool Recursive = false);          String GetDbInstruments(String Dir, bool Recursive = false);
# Line 197  class LSCPServer : public Thread { Line 221  class LSCPServer : public Thread {
221          String GetTotalStreamCount();          String GetTotalStreamCount();
222          String GetTotalVoiceCount();          String GetTotalVoiceCount();
223          String GetTotalVoiceCountMax();          String GetTotalVoiceCountMax();
224            String GetGlobalMaxVoices();
225            String SetGlobalMaxVoices(int iVoices);
226            String GetGlobalMaxStreams();
227            String SetGlobalMaxStreams(int iStreams);
228          String GetGlobalVolume();          String GetGlobalVolume();
229          String SetGlobalVolume(double dVolume);          String SetGlobalVolume(double dVolume);
230          String GetFileInstruments(String Filename);          String GetFileInstruments(String Filename);
# Line 207  class LSCPServer : public Thread { Line 235  class LSCPServer : public Thread {
235          String UnsubscribeNotification(LSCPEvent::event_t);          String UnsubscribeNotification(LSCPEvent::event_t);
236          String SetEcho(yyparse_param_t* pSession, double boolean_value);          String SetEcho(yyparse_param_t* pSession, double boolean_value);
237          void   AnswerClient(String ReturnMessage);          void   AnswerClient(String ReturnMessage);
238            void   CloseAllConnections();
239    
240          static int currentSocket;          static int currentSocket;
241          static std::map<int,String> bufferedCommands;          static std::map<int,String> bufferedCommands;

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

  ViewVC Help
Powered by ViewVC