2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
liblscp - LinuxSampler Control Protocol API |
liblscp - LinuxSampler Control Protocol API |
5 |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This library is free software; you can redistribute it and/or |
This library is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU Lesser General Public |
modify it under the terms of the GNU Lesser General Public |
44 |
{ |
{ |
45 |
char * description; |
char * description; |
46 |
char * version; |
char * version; |
47 |
|
char * protocol_version; |
48 |
|
|
49 |
} lscp_server_info_t; |
} lscp_server_info_t; |
50 |
|
|
98 |
} lscp_usage_t; |
} lscp_usage_t; |
99 |
|
|
100 |
|
|
101 |
|
/** Effect send info cache struct. */ |
102 |
|
typedef struct _lscp_fxsend_info_t |
103 |
|
{ |
104 |
|
char * name; |
105 |
|
int midi_controller; |
106 |
|
char **audio_routing; |
107 |
|
|
108 |
|
} lscp_fxsend_info_t; |
109 |
|
|
110 |
|
|
111 |
/** MIDI instrument parameter struct. */ |
/** MIDI instrument parameter struct. */ |
112 |
typedef struct _lscp_midi_instrument_t |
typedef struct _lscp_midi_instrument_t |
113 |
{ |
{ |
170 |
); |
); |
171 |
|
|
172 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
173 |
// Client versioning teller fuunction. |
// Client versioning teller function. |
174 |
|
|
175 |
const char * lscp_client_package (void); |
const char * lscp_client_package (void); |
176 |
const char * lscp_client_version (void); |
const char * lscp_client_version (void); |
248 |
int lscp_get_total_voice_count (lscp_client_t *pClient); |
int lscp_get_total_voice_count (lscp_client_t *pClient); |
249 |
int lscp_get_total_voice_count_max (lscp_client_t *pClient); |
int lscp_get_total_voice_count_max (lscp_client_t *pClient); |
250 |
|
|
251 |
|
float lscp_get_volume (lscp_client_t *pClient ); |
252 |
|
lscp_status_t lscp_set_volume (lscp_client_t *pClient, float fVolume); |
253 |
|
|
254 |
|
//------------------------------------------------------------------------- |
255 |
|
// Effect sends control functions. |
256 |
|
|
257 |
|
int lscp_create_fxsend (lscp_client_t *pClient, int iSamplerChannel, int iMidiController, const char *pszFxName); |
258 |
|
lscp_status_t lscp_destroy_fxsend (lscp_client_t *pClient, int iSamplerChannel, int iFxSend); |
259 |
|
|
260 |
|
int lscp_get_fxsends (lscp_client_t *pClient, int iSamplerChannel); |
261 |
|
int * lscp_list_fxsends (lscp_client_t *pClient, int iSamplerChannel); |
262 |
|
|
263 |
|
lscp_fxsend_info_t * lscp_get_fxsend_info (lscp_client_t *pClient, int iSamplerChannel, int iFxSend); |
264 |
|
|
265 |
|
lscp_status_t lscp_set_fxsend_audio_channel (lscp_client_t *pClient, int iSamplerChannel, int iFxSend, int iAudioSrc, int iAudioDst); |
266 |
|
|
267 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
268 |
// MIDI instrument mapping control functions. |
// MIDI instrument mapping control functions. |
269 |
|
|