/[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 210 by schoenebeck, Sat Jul 24 12:33:49 2004 UTC revision 212 by schoenebeck, Wed Jul 28 14:17:29 2004 UTC
# Line 42  Line 42 
42  #include "../Sampler.h"  #include "../Sampler.h"
43  #include "../common/Thread.h"  #include "../common/Thread.h"
44  #include "../common/Mutex.h"  #include "../common/Mutex.h"
45    #include "../common/Condition.h"
46    
47  /// TCP Port on which the server should listen for connection requests.  /// TCP Port on which the server should listen for connection requests.
48  #define LSCP_PORT 8888  #define LSCP_PORT 8888
# Line 59  extern int yylex_destroy(yyscan_t yyscan Line 60  extern int yylex_destroy(yyscan_t yyscan
60  class LSCPServer : public Thread {  class LSCPServer : public Thread {
61      public:      public:
62          LSCPServer(Sampler* pSampler);          LSCPServer(Sampler* pSampler);
63            int WaitUntilInitialized(long TimeoutSeconds = 0L, long TimeoutNanoSeconds = 0L);
64    
65          // Methods called by the parser          // Methods called by the parser
66          String DestroyAudioOutputDevice(uint DeviceIndex);          String DestroyAudioOutputDevice(uint DeviceIndex);
# Line 115  class LSCPServer : public Thread { Line 117  class LSCPServer : public Thread {
117          String SetMIDIInput(uint MIDIDeviceId, uint MIDIPort, uint MIDIChannel, uint uiSamplerChannel);          String SetMIDIInput(uint MIDIDeviceId, uint MIDIPort, uint MIDIChannel, uint uiSamplerChannel);
118          String SetVolume(double Volume, uint uiSamplerChannel);          String SetVolume(double Volume, uint uiSamplerChannel);
119          String ResetChannel(uint uiSamplerChannel);          String ResetChannel(uint uiSamplerChannel);
120            String ResetSampler();
121          String SubscribeNotification(LSCPEvent::event_t);          String SubscribeNotification(LSCPEvent::event_t);
122          String UnsubscribeNotification(LSCPEvent::event_t);          String UnsubscribeNotification(LSCPEvent::event_t);
123          String SetEcho(yyparse_param_t* pSession, double boolean_value);          String SetEcho(yyparse_param_t* pSession, double boolean_value);
# Line 129  class LSCPServer : public Thread { Line 132  class LSCPServer : public Thread {
132          int            hSocket;          int            hSocket;
133          sockaddr_in    SocketAddress;          sockaddr_in    SocketAddress;
134          Sampler*       pSampler;          Sampler*       pSampler;
135            Condition      Initialized;
136    
137          int Main(); ///< Implementation of virtual method from class Thread          int Main(); ///< Implementation of virtual method from class Thread
138    

Legend:
Removed from v.210  
changed lines
  Added in v.212

  ViewVC Help
Powered by ViewVC