/[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 133 by capela, Fri Jun 18 14:29:02 2004 UTC revision 140 by senkov, Mon Jun 21 00:23:56 2004 UTC
# Line 57  class LSCPServer : public Thread { Line 57  class LSCPServer : public Thread {
57          LSCPServer(Sampler* pSampler);          LSCPServer(Sampler* pSampler);
58    
59          // Methods called by the parser          // Methods called by the parser
         String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters);  
60          String DestroyAudioOutputDevice(uint DeviceIndex);          String DestroyAudioOutputDevice(uint DeviceIndex);
61          String LoadInstrument(String Filename, uint uiInstrument, uint uiSamplerChannel);          String LoadInstrument(String Filename, uint uiInstrument, uint uiSamplerChannel, bool bBackground = false);
62          String LoadEngine(String EngineName, uint uiSamplerChannel);          String LoadEngine(String EngineName, uint uiSamplerChannel);
63          String GetChannels();          String GetChannels();
64          String AddChannel();          String AddChannel();
# Line 75  class LSCPServer : public Thread { Line 74  class LSCPServer : public Thread {
74  #ifdef __GNUC__  #ifdef __GNUC__
75          typedef std::map<String,String> StringMap; // nasty workaround for a GCC bug (see GCC bug #15980, #57)          typedef std::map<String,String> StringMap; // nasty workaround for a GCC bug (see GCC bug #15980, #57)
76          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = StringMap());          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = StringMap());
77            String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = StringMap());
78  #else  #else
79          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = std::map<String,String>());          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = std::map<String,String>());
80            String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = std::map<String,String>());
81  #endif // __GNUC__  #endif // __GNUC__
82          String GetAudioOutputDeviceCount();          String GetAudioOutputDeviceCount();
83          String GetAudioOutputDevices();          String GetAudioOutputDevices();
# Line 92  class LSCPServer : public Thread { Line 93  class LSCPServer : public Thread {
93          String SetAudioOutputDevice(uint AudioDeviceId, uint SamplerChannel);          String SetAudioOutputDevice(uint AudioDeviceId, uint SamplerChannel);
94          String SetVolume(double Volume, uint uiSamplerChannel);          String SetVolume(double Volume, uint uiSamplerChannel);
95          String ResetChannel(uint uiSamplerChannel);          String ResetChannel(uint uiSamplerChannel);
96          String SubscribeNotification(uint UDPPort);          String SubscribeNotification(event_t Event);
97          String UnsubscribeNotification(String SessionID);          String UnsubscribeNotification(event_t Event);
98          void   AnswerClient(String ReturnMessage);          void   AnswerClient(String ReturnMessage);
99      protected:      protected:
100          int            hSocket;          int            hSocket;

Legend:
Removed from v.133  
changed lines
  Added in v.140

  ViewVC Help
Powered by ViewVC