2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
liblscp - LinuxSampler Control Protocol API |
liblscp - LinuxSampler Control Protocol API |
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2005, 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 |
30 |
extern "C" { |
extern "C" { |
31 |
#endif |
#endif |
32 |
|
|
33 |
|
//------------------------------------------------------------------------- |
34 |
|
// MIDI channel omni mode. |
35 |
|
|
36 |
|
#define LSCP_MIDI_CHANNEL_ALL 16 |
37 |
|
|
38 |
|
|
39 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
40 |
// Client data structures. |
// Client data structures. |
57 |
char ** audio_routing; |
char ** audio_routing; |
58 |
char * instrument_file; |
char * instrument_file; |
59 |
int instrument_nr; |
int instrument_nr; |
60 |
|
char * instrument_name; |
61 |
int instrument_status; |
int instrument_status; |
62 |
int midi_device; |
int midi_device; |
63 |
int midi_port; |
int midi_port; |
131 |
lscp_status_t lscp_client_subscribe (lscp_client_t *pClient, lscp_event_t events); |
lscp_status_t lscp_client_subscribe (lscp_client_t *pClient, lscp_event_t events); |
132 |
lscp_status_t lscp_client_unsubscribe (lscp_client_t *pClient, lscp_event_t events); |
lscp_status_t lscp_client_unsubscribe (lscp_client_t *pClient, lscp_event_t events); |
133 |
|
|
134 |
lscp_event_t lscp_client_events (lscp_client_t *pClient); |
lscp_event_t lscp_client_get_events (lscp_client_t *pClient); |
135 |
|
|
136 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
137 |
// Client command protocol functions. |
// Client command protocol functions. |
166 |
|
|
167 |
lscp_status_t lscp_reset_channel (lscp_client_t *pClient, int iSamplerChannel); |
lscp_status_t lscp_reset_channel (lscp_client_t *pClient, int iSamplerChannel); |
168 |
|
|
169 |
|
lscp_status_t lscp_reset_sampler (lscp_client_t *pClient); |
170 |
|
|
171 |
#if defined(__cplusplus) |
#if defined(__cplusplus) |
172 |
} |
} |