event.h | event.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#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_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_MISCELLANEOUS = 0x1000 | LSCP_EVENT_AUDIO_OUTPUT_DEVICE_COUNT = 0x0040, | |||
LSCP_EVENT_AUDIO_OUTPUT_DEVICE_INFO = 0x0080, | ||||
LSCP_EVENT_MIDI_INPUT_DEVICE_COUNT = 0x0100, | ||||
LSCP_EVENT_MIDI_INPUT_DEVICE_INFO = 0x0200, | ||||
LSCP_EVENT_MIDI_INSTRUMENT_MAP_COUNT = 0x0400, | ||||
LSCP_EVENT_MIDI_INSTRUMENT_MAP_INFO = 0x1000, | ||||
LSCP_EVENT_MIDI_INSTRUMENT_COUNT = 0x2000, | ||||
LSCP_EVENT_MIDI_INSTRUMENT_INFO = 0x4000, | ||||
LSCP_EVENT_MISCELLANEOUS = 0x8000 | ||||
} 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. 1 change blocks. | ||||
8 lines changed or deleted | 16 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.0" | #define LSCP_VERSION "0.5.1" | |||
#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 | |||