/[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 527 by capela, Mon May 9 11:59:58 2005 UTC revision 778 by iliev, Fri Sep 23 06:58:26 2005 UTC
# Line 47  Line 47 
47  #include "../common/Condition.h"  #include "../common/Condition.h"
48    
49  /// TCP Port on which the server should listen for connection requests.  /// TCP Port on which the server should listen for connection requests.
50    #define LSCP_ADDR INADDR_ANY
51  #define LSCP_PORT 8888  #define LSCP_PORT 8888
52    
53  /// try up to 3 minutes to bind server socket  /// try up to 3 minutes to bind server socket
# Line 63  extern void restart(yyparse_param_t* ppa Line 64  extern void restart(yyparse_param_t* ppa
64   */   */
65  class LSCPServer : public Thread {  class LSCPServer : public Thread {
66      public:      public:
67          LSCPServer(Sampler* pSampler);          LSCPServer(Sampler* pSampler, long int addr, short int port);
68          virtual ~LSCPServer();          virtual ~LSCPServer();
69          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);          int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);
70    
# Line 124  class LSCPServer : public Thread { Line 125  class LSCPServer : public Thread {
125          String SetMIDIInputType(String MidiInputDriver, uint uiSamplerChannel);          String SetMIDIInputType(String MidiInputDriver, uint uiSamplerChannel);
126          String SetMIDIInput(uint MIDIDeviceId, uint MIDIPort, uint MIDIChannel, uint uiSamplerChannel);          String SetMIDIInput(uint MIDIDeviceId, uint MIDIPort, uint MIDIChannel, uint uiSamplerChannel);
127          String SetVolume(double dVolume, uint uiSamplerChannel);          String SetVolume(double dVolume, uint uiSamplerChannel);
128            String SetChannelMute(bool bMute, uint uiSamplerChannel);
129            String SetChannelSolo(bool bSolo, uint uiSamplerChannel);
130          String ResetChannel(uint uiSamplerChannel);          String ResetChannel(uint uiSamplerChannel);
131          String ResetSampler();          String ResetSampler();
132            String GetServerInfo();
133            String GetTotalVoiceCount();
134            String GetTotalVoiceCountMax();
135          String SubscribeNotification(LSCPEvent::event_t);          String SubscribeNotification(LSCPEvent::event_t);
136          String UnsubscribeNotification(LSCPEvent::event_t);          String UnsubscribeNotification(LSCPEvent::event_t);
137          String QueryDatabase(String query);          String QueryDatabase(String query);
# Line 161  class LSCPServer : public Thread { Line 167  class LSCPServer : public Thread {
167           */           */
168          int GetMidiInputDeviceIndex (MidiInputDevice *pDevice);          int GetMidiInputDeviceIndex (MidiInputDevice *pDevice);
169    
170            bool HasSoloChannel();
171            void MuteNonSoloChannels();
172            void UnmuteChannels();
173    
174          static std::map<int,String> bufferedNotifies;          static std::map<int,String> bufferedNotifies;
175          static Mutex NotifyMutex;          static Mutex NotifyMutex;
176          static Mutex NotifyBufferMutex;          static Mutex NotifyBufferMutex;

Legend:
Removed from v.527  
changed lines
  Added in v.778

  ViewVC Help
Powered by ViewVC