/[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 154 by capela, Wed Jun 23 18:54:08 2004 UTC revision 155 by senkov, Mon Jun 28 04:30:11 2004 UTC
# Line 58  class LSCPServer : public Thread { Line 58  class LSCPServer : public Thread {
58    
59          // Methods called by the parser          // Methods called by the parser
60          String DestroyAudioOutputDevice(uint DeviceIndex);          String DestroyAudioOutputDevice(uint DeviceIndex);
61            String DestroyMidiInputDevice(uint DeviceIndex);
62          String LoadInstrument(String Filename, uint uiInstrument, uint uiSamplerChannel, bool bBackground = false);          String LoadInstrument(String Filename, uint uiInstrument, uint uiSamplerChannel, bool bBackground = false);
63          String LoadEngine(String EngineName, uint uiSamplerChannel);          String LoadEngine(String EngineName, uint uiSamplerChannel);
64          String GetChannels();          String GetChannels();
# Line 70  class LSCPServer : public Thread { Line 71  class LSCPServer : public Thread {
71          String GetStreamCount(uint uiSamplerChannel);          String GetStreamCount(uint uiSamplerChannel);
72          String GetBufferFill(fill_response_t ResponseType, uint uiSamplerChannel);          String GetBufferFill(fill_response_t ResponseType, uint uiSamplerChannel);
73          String GetAvailableAudioOutputDrivers();          String GetAvailableAudioOutputDrivers();
74            String GetAvailableMidiInputDrivers();
75          String GetAudioOutputDriverInfo(String Driver);          String GetAudioOutputDriverInfo(String Driver);
76            String GetMidiInputDriverInfo(String Driver);
77  #ifdef __GNUC__  #ifdef __GNUC__
78          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)
79          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = StringMap());          String GetAudioOutputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = StringMap());
80            String GetMidiInputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = StringMap());
81          String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = StringMap());          String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = StringMap());
82            String CreateMidiInputDevice(String Driver, std::map<String,String> Parameters = StringMap());
83  #else  #else
84          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>());
85            String GetMidiInputDriverParameterInfo(String Driver, String Parameter, std::map<String,String> DependencyList = std::map<String,String>());
86          String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = std::map<String,String>());          String CreateAudioOutputDevice(String Driver, std::map<String,String> Parameters = std::map<String,String>());
87            String CreateMidiInputDevice(String Driver, std::map<String,String> Parameters = std::map<String,String>());
88  #endif // __GNUC__  #endif // __GNUC__
89          String GetAudioOutputDeviceCount();          String GetAudioOutputDeviceCount();
90            String GetMidiInputDeviceCount();
91          String GetAudioOutputDevices();          String GetAudioOutputDevices();
92            String GetMidiInputDevices();
93          String GetAudioOutputDeviceInfo(uint DeviceIndex);          String GetAudioOutputDeviceInfo(uint DeviceIndex);
94            String GetMidiInputDeviceInfo(uint DeviceIndex);
95            String GetMidiInputPortInfo(uint DeviceIndex, uint PortIndex);
96          String GetAudioOutputChannelInfo(uint DeviceId, uint ChannelId);          String GetAudioOutputChannelInfo(uint DeviceId, uint ChannelId);
97          String GetAudioOutputChannelParameterInfo(uint DeviceId, uint ChannelId, String ParameterName);          String GetAudioOutputChannelParameterInfo(uint DeviceId, uint ChannelId, String ParameterName);
98          String SetAudioOutputChannelParameter(uint DeviceId, uint ChannelId, String ParamKey, String ParamVal);          String SetAudioOutputChannelParameter(uint DeviceId, uint ChannelId, String ParamKey, String ParamVal);
99          String SetAudioOutputDeviceParameter(uint DeviceIndex, String ParamKey, String ParamVal);          String SetAudioOutputDeviceParameter(uint DeviceIndex, String ParamKey, String ParamVal);
100            String SetMidiInputDeviceParameter(uint DeviceIndex, String ParamKey, String ParamVal);
101            String SetMidiInputPortParameter(uint DeviceIndex, uint PortIndex, String ParamKey, String ParamVal);
102          String SetAudioOutputChannel(uint ChannelAudioOutputChannel, uint AudioOutputDeviceInputChannel, uint uiSamplerChannel);          String SetAudioOutputChannel(uint ChannelAudioOutputChannel, uint AudioOutputDeviceInputChannel, uint uiSamplerChannel);
103          String SetAudioOutputType(String AudioOutputDriver, uint uiSamplerChannel);          String SetAudioOutputType(String AudioOutputDriver, uint uiSamplerChannel);
104          String SetMIDIInputType(String MidiInputDriver, uint uiSamplerChannel);          String SetMIDIInputType(String MidiInputDriver, uint uiSamplerChannel);
105          String SetMIDIInputPort(String MIDIInputPort, uint uiSamplerchannel);          String SetMIDIInput(uint MIDIDevice, uint MIDIPort, uint MIDIChannel, uint uiSamplerChannel);
         String SetMIDIInputChannel(uint MIDIChannel, uint uiSamplerChannel);  
106          String SetAudioOutputDevice(uint AudioDeviceId, uint SamplerChannel);          String SetAudioOutputDevice(uint AudioDeviceId, uint SamplerChannel);
107          String SetVolume(double Volume, uint uiSamplerChannel);          String SetVolume(double Volume, uint uiSamplerChannel);
108          String ResetChannel(uint uiSamplerChannel);          String ResetChannel(uint uiSamplerChannel);
# Line 109  class LSCPServer : public Thread { Line 121  class LSCPServer : public Thread {
121           * Find a created audio output device index.           * Find a created audio output device index.
122           */           */
123          int GetAudioOutputDeviceIndex (AudioOutputDevice *pDevice);          int GetAudioOutputDeviceIndex (AudioOutputDevice *pDevice);
124            
125            /**
126             * Find a created midi input device index.
127             */
128            int GetMidiInputDeviceIndex (MidiInputDevice *pDevice);
129    
130          /**          /**
131           * Converts a result_t structure into a valid LSCP answer message.           * Converts a result_t structure into a valid LSCP answer message.

Legend:
Removed from v.154  
changed lines
  Added in v.155

  ViewVC Help
Powered by ViewVC