53 |
char ** engines; |
char ** engines; |
54 |
int * channels; |
int * channels; |
55 |
// Client struct volatile caches. |
// Client struct volatile caches. |
56 |
lscp_driver_info_t audio_info; |
lscp_driver_info_t audio_driver_info; |
57 |
lscp_driver_info_t midi_info; |
lscp_driver_info_t midi_driver_info; |
58 |
|
lscp_device_info_t audio_device_info; |
59 |
|
lscp_device_info_t midi_device_info; |
60 |
|
lscp_param_info_t audio_param_info; |
61 |
|
lscp_param_info_t midi_param_info; |
62 |
|
lscp_device_port_info_t audio_channel_info; |
63 |
|
lscp_device_port_info_t midi_port_info; |
64 |
|
lscp_param_info_t audio_channel_param_info; |
65 |
|
lscp_param_info_t midi_port_param_info; |
66 |
lscp_engine_info_t engine_info; |
lscp_engine_info_t engine_info; |
67 |
lscp_channel_info_t channel_info; |
lscp_channel_info_t channel_info; |
68 |
// Result and error status. |
// Result and error status. |
111 |
int lscp_psplit_size (lscp_param_t *ppSplit); |
int lscp_psplit_size (lscp_param_t *ppSplit); |
112 |
#endif |
#endif |
113 |
|
|
114 |
|
void lscp_plist_alloc (lscp_param_t **ppList); |
115 |
|
void lscp_plist_free (lscp_param_t **ppList); |
116 |
|
void lscp_plist_append (lscp_param_t **ppList, const char *pszKey, const char *pszValue); |
117 |
|
#ifdef LSCP_PLIST_COUNT |
118 |
|
int lscp_plist_count (lscp_param_t **ppList); |
119 |
|
int lscp_plist_size (lscp_param_t **ppList); |
120 |
|
#endif |
121 |
|
|
122 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
123 |
// Engine struct helper functions. |
// Engine struct helper functions. |
124 |
|
|
137 |
void lscp_driver_info_init (lscp_driver_info_t *pDriverInfo); |
void lscp_driver_info_init (lscp_driver_info_t *pDriverInfo); |
138 |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
139 |
|
|
140 |
|
//------------------------------------------------------------------------- |
141 |
|
// Device struct helper functions. |
142 |
|
|
143 |
|
void lscp_device_info_init (lscp_device_info_t *pDeviceInfo); |
144 |
|
void lscp_device_info_reset (lscp_device_info_t *pDeviceInfo); |
145 |
|
|
146 |
|
//------------------------------------------------------------------------- |
147 |
|
// Device channel/port struct helper functions. |
148 |
|
|
149 |
|
void lscp_device_port_info_init (lscp_device_port_info_t *pDevicePortInfo); |
150 |
|
void lscp_device_port_info_reset (lscp_device_port_info_t *pDevicePortInfo); |
151 |
|
|
152 |
|
//------------------------------------------------------------------------- |
153 |
|
// Parameter struct helper functions. |
154 |
|
|
155 |
|
void lscp_param_info_init (lscp_param_info_t *pParamInfo); |
156 |
|
void lscp_param_info_reset (lscp_param_info_t *pParamInfo); |
157 |
|
|
158 |
|
//------------------------------------------------------------------------- |
159 |
|
// Concatenate a parameter list (key='value'...) into a string. |
160 |
|
|
161 |
|
int lscp_param_concat (char *pszBuffer, int cchMaxBuffer, lscp_param_t *pParams); |
162 |
|
|
163 |
|
|
164 |
#endif // __LSCP_COMMON_H |
#endif // __LSCP_COMMON_H |
165 |
|
|