client.h | client.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
#endif | #endif | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// MIDI channel omni mode. | // MIDI channel omni mode. | |||
#define LSCP_MIDI_CHANNEL_ALL 16 | #define LSCP_MIDI_CHANNEL_ALL 16 | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// Client data structures. | // Client data structures. | |||
/** Server info cache struct. */ | ||||
typedef struct _lscp_server_info_t | ||||
{ | ||||
char * description; | ||||
char * version; | ||||
} lscp_server_info_t; | ||||
/** Engine info cache struct. */ | /** Engine info cache struct. */ | |||
typedef struct _lscp_engine_info_t | typedef struct _lscp_engine_info_t | |||
{ | { | |||
char * description; | char * description; | |||
char * version; | char * version; | |||
} lscp_engine_info_t; | } lscp_engine_info_t; | |||
/** Channel info cache struct. */ | /** Channel info cache struct. */ | |||
typedef struct _lscp_channel_info_t | typedef struct _lscp_channel_info_t | |||
skipping to change at line 168 | skipping to change at line 176 | |||
lscp_status_t lscp_set_channel_midi_type (lscp_client_t *pCl ient, int iSamplerChannel, const char *pszMidiType); | lscp_status_t lscp_set_channel_midi_type (lscp_client_t *pCl ient, int iSamplerChannel, const char *pszMidiType); | |||
lscp_status_t lscp_set_channel_midi_device (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiDevice); | lscp_status_t lscp_set_channel_midi_device (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiDevice); | |||
lscp_status_t lscp_set_channel_midi_port (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiPort); | lscp_status_t lscp_set_channel_midi_port (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiPort); | |||
lscp_status_t lscp_set_channel_midi_channel (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiChannel); | lscp_status_t lscp_set_channel_midi_channel (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiChannel); | |||
lscp_status_t lscp_set_channel_volume (lscp_client_t *pCl ient, int iSamplerChannel, float fVolume); | lscp_status_t lscp_set_channel_volume (lscp_client_t *pCl ient, int iSamplerChannel, float fVolume); | |||
lscp_status_t lscp_reset_channel (lscp_client_t *pCl ient, int iSamplerChannel); | lscp_status_t lscp_reset_channel (lscp_client_t *pCl ient, int iSamplerChannel); | |||
lscp_status_t lscp_reset_sampler (lscp_client_t *pCl ient); | lscp_status_t lscp_reset_sampler (lscp_client_t *pCl ient); | |||
lscp_server_info_t * lscp_get_server_info (lscp_client_t *pCl | ||||
ient); | ||||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
} | } | |||
#endif | #endif | |||
#endif // __LSCP_CLIENT_H | #endif // __LSCP_CLIENT_H | |||
// end of client.h | // end of client.h | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||
event.h | event.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
#include "lscp/socket.h" | #include "lscp/socket.h" | |||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** Subscribable event notification bit-wise flags. */ | /** Subscribable event notification bit-wise flags. */ | |||
typedef enum _lscp_event_t | typedef enum _lscp_event_t | |||
{ | { | |||
LSCP_EVENT_NONE = 0x0000, | LSCP_EVENT_NONE = 0x0000, | |||
LSCP_EVENT_CHANNELS = 0x0001, | LSCP_EVENT_CHANNEL_COUNT = 0x0001, | |||
LSCP_EVENT_VOICE_COUNT = 0x0002, | LSCP_EVENT_VOICE_COUNT = 0x0002, | |||
LSCP_EVENT_STREAM_COUNT = 0x0004, | LSCP_EVENT_STREAM_COUNT = 0x0004, | |||
LSCP_EVENT_BUFFER_FILL = 0x0008, | LSCP_EVENT_BUFFER_FILL = 0x0008, | |||
LSCP_EVENT_CHANNEL_INFO = 0x0010, | LSCP_EVENT_CHANNEL_INFO = 0x0010, | |||
LSCP_EVENT_MISCELLANEOUS = 0x1000 | LSCP_EVENT_MISCELLANEOUS = 0x1000 | |||
} lscp_event_t; | } lscp_event_t; | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// Simple event helper functions. | // Simple event helper functions. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
You should have received a copy of the GNU Lesser General Public | You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
*************************************************************************** **/ | *************************************************************************** **/ | |||
#ifndef __LSCP_VERSION_H | #ifndef __LSCP_VERSION_H | |||
#define __LSCP_VERSION_H | #define __LSCP_VERSION_H | |||
#define LSCP_PACKAGE "liblscp" | #define LSCP_PACKAGE "liblscp" | |||
#define LSCP_VERSION "0.2.8" | #define LSCP_VERSION "0.2.9" | |||
#endif // __LSCP_VERSION_H | #endif // __LSCP_VERSION_H | |||
// end of version.h | // end of version.h | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||