23 #ifndef __LSCP_DEVICE_H
24 #define __LSCP_DEVICE_H
28 #if defined(__cplusplus)
159 #if defined(__cplusplus)
struct _lscp_client_t lscp_client_t
Definition: client.h:162
struct _lscp_param_t lscp_param_t
lscp_device_info_t * lscp_get_midi_device_info(lscp_client_t *pClient, int iMidiDevice)
Definition: device.c:898
lscp_status_t lscp_set_audio_channel_param(lscp_client_t *pClient, int iAudioDevice, int iAudioChannel, lscp_param_t *pParam)
Definition: device.c:626
lscp_param_info_t * lscp_get_midi_port_param_info(lscp_client_t *pClient, int iMidiDevice, int iMidiPort, const char *pszParam)
Definition: device.c:977
struct _lscp_device_port_info_t lscp_device_port_info_t
struct _lscp_device_info_t lscp_device_info_t
lscp_status_t lscp_set_audio_device_param(lscp_client_t *pClient, int iAudioDevice, lscp_param_t *pParam)
Definition: device.c:542
lscp_param_info_t * lscp_get_midi_driver_param_info(lscp_client_t *pClient, const char *pszMidiDriver, const char *pszParam, lscp_param_t *pDepList)
Definition: device.c:746
enum _lscp_type_t lscp_type_t
int lscp_get_available_audio_drivers(lscp_client_t *pClient)
Definition: device.c:278
int lscp_create_audio_device(lscp_client_t *pClient, const char *pszAudioDriver, lscp_param_t *pParams)
Definition: device.c:396
lscp_status_t lscp_set_midi_port_param(lscp_client_t *pClient, int iMidiDevice, int iMidiPort, lscp_param_t *pParam)
Definition: device.c:1006
struct _lscp_param_info_t lscp_param_info_t
lscp_device_port_info_t * lscp_get_midi_port_info(lscp_client_t *pClient, int iMidiDevice, int iMidiPort)
Definition: device.c:949
int lscp_get_midi_devices(lscp_client_t *pClient)
Definition: device.c:834
struct _lscp_driver_info_t lscp_driver_info_t
int lscp_get_available_midi_drivers(lscp_client_t *pClient)
Definition: device.c:656
lscp_device_port_info_t * lscp_get_audio_channel_info(lscp_client_t *pClient, int iAudioDevice, int iAudioChannel)
Definition: device.c:569
lscp_driver_info_t * lscp_get_audio_driver_info(lscp_client_t *pClient, const char *pszAudioDriver)
Definition: device.c:342
int * lscp_list_audio_devices(lscp_client_t *pClient)
Definition: device.c:483
int lscp_create_midi_device(lscp_client_t *pClient, const char *pszMidiDriver, lscp_param_t *pParams)
Definition: device.c:776
int * lscp_list_midi_devices(lscp_client_t *pClient)
Definition: device.c:863
lscp_status_t lscp_set_midi_device_param(lscp_client_t *pClient, int iMidiDevice, lscp_param_t *pParam)
Definition: device.c:922
lscp_param_info_t * lscp_get_audio_channel_param_info(lscp_client_t *pClient, int iAudioDevice, int iAudioChannel, const char *pszParam)
Definition: device.c:597
int lscp_get_audio_devices(lscp_client_t *pClient)
Definition: device.c:454
_lscp_type_t
Definition: device.h:38
@ LSCP_TYPE_BOOL
Definition: device.h:40
@ LSCP_TYPE_FLOAT
Definition: device.h:42
@ LSCP_TYPE_NONE
Definition: device.h:39
@ LSCP_TYPE_INT
Definition: device.h:41
@ LSCP_TYPE_STRING
Definition: device.h:43
const char * lscp_get_param_value(lscp_param_t *pParams, const char *pszParam)
Definition: device.c:1027
lscp_device_info_t * lscp_get_audio_device_info(lscp_client_t *pClient, int iAudioDevice)
Definition: device.c:518
const char ** lscp_list_available_midi_drivers(lscp_client_t *pClient)
Definition: device.c:685
lscp_status_t lscp_destroy_audio_device(lscp_client_t *pClient, int iAudioDevice)
Definition: device.c:430
const char ** lscp_list_available_audio_drivers(lscp_client_t *pClient)
Definition: device.c:307
lscp_driver_info_t * lscp_get_midi_driver_info(lscp_client_t *pClient, const char *pszMidiDriver)
Definition: device.c:720
lscp_param_info_t * lscp_get_audio_driver_param_info(lscp_client_t *pClient, const char *pszAudioDriver, const char *pszParam, lscp_param_t *pDepList)
Definition: device.c:366
lscp_status_t lscp_destroy_midi_device(lscp_client_t *pClient, int iMidiDevice)
Definition: device.c:810
char * driver
Definition: device.h:87
lscp_param_t * params
Definition: device.h:88
lscp_param_t * params
Definition: device.h:97
char * name
Definition: device.h:96
char * version
Definition: device.h:78
char ** parameters
Definition: device.h:79
char * description
Definition: device.h:77
lscp_type_t type
Definition: device.h:60
char * description
Definition: device.h:61
int mandatory
Definition: device.h:62
char * range_max
Definition: device.h:68
char * defaultv
Definition: device.h:66
char * range_min
Definition: device.h:67
int fix
Definition: device.h:63
char ** possibilities
Definition: device.h:69
char ** depends
Definition: device.h:65
int multiplicity
Definition: device.h:64
char * value
Definition: device.h:52
char * key
Definition: device.h:51
enum _lscp_status_t lscp_status_t