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; |
lscp_param_info_t audio_param_info; |
61 |
lscp_param_info_t midi_param_info; |
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. |
74 |
// Transaction call timeout (msecs). |
// Transaction call timeout (msecs). |
75 |
int iTimeout; |
int iTimeout; |
76 |
lscp_mutex_t mutex; |
lscp_mutex_t mutex; |
77 |
|
lscp_cond_t cond; |
78 |
}; |
}; |
79 |
|
|
80 |
|
|
112 |
int lscp_psplit_size (lscp_param_t *ppSplit); |
int lscp_psplit_size (lscp_param_t *ppSplit); |
113 |
#endif |
#endif |
114 |
|
|
115 |
|
void lscp_plist_alloc (lscp_param_t **ppList); |
116 |
|
void lscp_plist_free (lscp_param_t **ppList); |
117 |
|
void lscp_plist_append (lscp_param_t **ppList, const char *pszKey, const char *pszValue); |
118 |
|
#ifdef LSCP_PLIST_COUNT |
119 |
|
int lscp_plist_count (lscp_param_t **ppList); |
120 |
|
int lscp_plist_size (lscp_param_t **ppList); |
121 |
|
#endif |
122 |
|
|
123 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
124 |
// Engine struct helper functions. |
// Engine struct helper functions. |
125 |
|
|
139 |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
void lscp_driver_info_reset (lscp_driver_info_t *pDriverInfo); |
140 |
|
|
141 |
//------------------------------------------------------------------------- |
//------------------------------------------------------------------------- |
142 |
|
// Device struct helper functions. |
143 |
|
|
144 |
|
void lscp_device_info_init (lscp_device_info_t *pDeviceInfo); |
145 |
|
void lscp_device_info_reset (lscp_device_info_t *pDeviceInfo); |
146 |
|
|
147 |
|
//------------------------------------------------------------------------- |
148 |
|
// Device channel/port struct helper functions. |
149 |
|
|
150 |
|
void lscp_device_port_info_init (lscp_device_port_info_t *pDevicePortInfo); |
151 |
|
void lscp_device_port_info_reset (lscp_device_port_info_t *pDevicePortInfo); |
152 |
|
|
153 |
|
//------------------------------------------------------------------------- |
154 |
// Parameter struct helper functions. |
// Parameter struct helper functions. |
155 |
|
|
156 |
void lscp_param_info_init (lscp_param_info_t *pParamInfo); |
void lscp_param_info_init (lscp_param_info_t *pParamInfo); |