24 |
#ifndef __LSCPSERVER_H_ |
#ifndef __LSCPSERVER_H_ |
25 |
#define __LSCPSERVER_H_ |
#define __LSCPSERVER_H_ |
26 |
|
|
27 |
|
#if defined(WIN32) |
28 |
|
#include <windows.h> |
29 |
|
typedef int socklen_t; |
30 |
|
#else |
31 |
#include <unistd.h> |
#include <unistd.h> |
32 |
#include <sys/types.h> |
#include <sys/types.h> |
33 |
#include <sys/socket.h> |
#include <sys/socket.h> |
37 |
#include <netinet/tcp.h> |
#include <netinet/tcp.h> |
38 |
#include <arpa/inet.h> |
#include <arpa/inet.h> |
39 |
#include <netdb.h> |
#include <netdb.h> |
40 |
|
#endif |
41 |
|
|
42 |
#include <list> |
#include <list> |
43 |
|
|
49 |
#include "../common/Thread.h" |
#include "../common/Thread.h" |
50 |
#include "../common/Mutex.h" |
#include "../common/Mutex.h" |
51 |
#include "../common/Condition.h" |
#include "../common/Condition.h" |
52 |
#include "../common/global.h" |
#include "../common/global_private.h" |
53 |
|
|
54 |
#include "../drivers/midi/MidiInstrumentMapper.h" |
#include "../drivers/midi/MidiInstrumentMapper.h" |
55 |
|
|
185 |
String CopyDbInstrument(String Instr, String Dst); |
String CopyDbInstrument(String Instr, String Dst); |
186 |
String SetDbInstrumentDescription(String Instr, String Desc); |
String SetDbInstrumentDescription(String Instr, String Desc); |
187 |
String FindDbInstruments(String Dir, std::map<String,String> Parameters, bool Recursive = true); |
String FindDbInstruments(String Dir, std::map<String,String> Parameters, bool Recursive = true); |
188 |
|
String FormatInstrumentsDb(); |
189 |
String EditSamplerChannelInstrument(uint uiSamplerChannel); |
String EditSamplerChannelInstrument(uint uiSamplerChannel); |
190 |
String GetDbInstrumentsJobInfo(int JobId); |
String GetDbInstrumentsJobInfo(int JobId); |
191 |
String ResetChannel(uint uiSamplerChannel); |
String ResetChannel(uint uiSamplerChannel); |
195 |
String GetTotalVoiceCountMax(); |
String GetTotalVoiceCountMax(); |
196 |
String GetGlobalVolume(); |
String GetGlobalVolume(); |
197 |
String SetGlobalVolume(double dVolume); |
String SetGlobalVolume(double dVolume); |
198 |
|
String GetFileInstruments(String Filename); |
199 |
|
String ListFileInstruments(String Filename); |
200 |
|
String GetFileInstrumentInfo(String Filename, uint InstrumentID); |
201 |
String SubscribeNotification(LSCPEvent::event_t); |
String SubscribeNotification(LSCPEvent::event_t); |
202 |
String UnsubscribeNotification(LSCPEvent::event_t); |
String UnsubscribeNotification(LSCPEvent::event_t); |
203 |
String SetEcho(yyparse_param_t* pSession, double boolean_value); |
String SetEcho(yyparse_param_t* pSession, double boolean_value); |