client.h | client.h | |||
---|---|---|---|---|
// client.h | // client.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 255 | skipping to change at line 255 | |||
// Effect sends control functions. | // Effect sends control functions. | |||
int lscp_create_fxsend (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiController, const char *pszFxName); | int lscp_create_fxsend (lscp_client_t *pCl ient, int iSamplerChannel, int iMidiController, const char *pszFxName); | |||
lscp_status_t lscp_destroy_fxsend (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend); | lscp_status_t lscp_destroy_fxsend (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend); | |||
int lscp_get_fxsends (lscp_client_t *pCl ient, int iSamplerChannel); | int lscp_get_fxsends (lscp_client_t *pCl ient, int iSamplerChannel); | |||
int * lscp_list_fxsends (lscp_client_t *pCl ient, int iSamplerChannel); | int * lscp_list_fxsends (lscp_client_t *pCl ient, int iSamplerChannel); | |||
lscp_fxsend_info_t * lscp_get_fxsend_info (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend); | lscp_fxsend_info_t * lscp_get_fxsend_info (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend); | |||
lscp_status_t lscp_set_fxsend_name (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, const char *pszFxName); | ||||
lscp_status_t lscp_set_fxsend_audio_channel (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, int iAudioSrc, int iAudioDst); | lscp_status_t lscp_set_fxsend_audio_channel (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, int iAudioSrc, int iAudioDst); | |||
lscp_status_t lscp_set_fxsend_midi_controller (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, int iMidiController); | lscp_status_t lscp_set_fxsend_midi_controller (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, int iMidiController); | |||
lscp_status_t lscp_set_fxsend_level (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, float fLevel); | lscp_status_t lscp_set_fxsend_level (lscp_client_t *pCl ient, int iSamplerChannel, int iFxSend, float fLevel); | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// MIDI instrument mapping control functions. | // MIDI instrument mapping control functions. | |||
int lscp_add_midi_instrument_map (lscp_client_t *pCl ient, const char *pszMapName); | int lscp_add_midi_instrument_map (lscp_client_t *pCl ient, const char *pszMapName); | |||
lscp_status_t lscp_remove_midi_instrument_map (lscp_client_t *pCl ient, int iMidiMap); | lscp_status_t lscp_remove_midi_instrument_map (lscp_client_t *pCl ient, int iMidiMap); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
event.h | event.h | |||
---|---|---|---|---|
// event.h | // event.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004-2007, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2008, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 32 | skipping to change at line 32 | |||
#ifndef __LSCP_EVENT_H | #ifndef __LSCP_EVENT_H | |||
#define __LSCP_EVENT_H | #define __LSCP_EVENT_H | |||
#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 types. */ | |||
typedef enum _lscp_event_t | typedef enum _lscp_event_t | |||
{ | { | |||
LSCP_EVENT_NONE = 0x0000, | LSCP_EVENT_NONE = 0x0000, | |||
LSCP_EVENT_CHANNEL_COUNT = 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_TOTAL_VOICE_COUNT = 0x0020, | LSCP_EVENT_TOTAL_VOICE_COUNT = 0x0020, | |||
LSCP_EVENT_AUDIO_OUTPUT_DEVICE_COUNT = 0x0040, | LSCP_EVENT_AUDIO_OUTPUT_DEVICE_COUNT = 0x0040, | |||
LSCP_EVENT_AUDIO_OUTPUT_DEVICE_INFO = 0x0080, | LSCP_EVENT_AUDIO_OUTPUT_DEVICE_INFO = 0x0080, | |||
LSCP_EVENT_MIDI_INPUT_DEVICE_COUNT = 0x0100, | LSCP_EVENT_MIDI_INPUT_DEVICE_COUNT = 0x0100, | |||
LSCP_EVENT_MIDI_INPUT_DEVICE_INFO = 0x0200, | LSCP_EVENT_MIDI_INPUT_DEVICE_INFO = 0x0200, | |||
LSCP_EVENT_MIDI_INSTRUMENT_MAP_COUNT = 0x0400, | LSCP_EVENT_MIDI_INSTRUMENT_MAP_COUNT = 0x0400, | |||
LSCP_EVENT_MIDI_INSTRUMENT_MAP_INFO = 0x1000, | LSCP_EVENT_MIDI_INSTRUMENT_MAP_INFO = 0x1000, | |||
LSCP_EVENT_MIDI_INSTRUMENT_COUNT = 0x2000, | LSCP_EVENT_MIDI_INSTRUMENT_COUNT = 0x2000, | |||
LSCP_EVENT_MIDI_INSTRUMENT_INFO = 0x4000, | LSCP_EVENT_MIDI_INSTRUMENT_INFO = 0x4000, | |||
LSCP_EVENT_MISCELLANEOUS = 0x8000 | LSCP_EVENT_MISCELLANEOUS = 0x8000, | |||
// from these new events on, we simply enumerate them, | ||||
// no dedicated bit flags anymore ... | ||||
LSCP_EVENT_CHANNEL_MIDI = 0x00010000, | ||||
LSCP_EVENT_DEVICE_MIDI = 0x00020000 | ||||
} lscp_event_t; | } lscp_event_t; | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// Simple event helper functions. | // Simple event helper functions. | |||
const char * lscp_event_to_text ( lscp_event_t event ); | const char * lscp_event_to_text ( lscp_event_t event ); | |||
lscp_event_t lscp_event_from_text ( const char *pszText ); | lscp_event_t lscp_event_from_text ( const char *pszText ); | |||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
} | } | |||
End of changes. 3 change blocks. | ||||
4 lines changed or deleted | 7 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 General Public License along | You should have received a copy of the GNU General Public License along | |||
with this program; if not, write to the Free Software Foundation, Inc., | with this program; if not, write to the Free Software Foundation, Inc., | |||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 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.5.5" | #define LSCP_VERSION "0.5.5.8" | |||
#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 | |||