275 |
{ |
{ |
276 |
int iAudioDrivers = -1; |
int iAudioDrivers = -1; |
277 |
|
|
278 |
|
if (pClient == NULL) |
279 |
|
return -1; |
280 |
|
|
281 |
// Lock this section up. |
// Lock this section up. |
282 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
283 |
|
|
304 |
{ |
{ |
305 |
const char *pszSeps = ","; |
const char *pszSeps = ","; |
306 |
|
|
307 |
|
if (pClient == NULL) |
308 |
|
return NULL; |
309 |
|
|
310 |
// Lock this section up. |
// Lock this section up. |
311 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
312 |
|
|
395 |
int iAudioDevice = -1; |
int iAudioDevice = -1; |
396 |
|
|
397 |
if (pClient == NULL) |
if (pClient == NULL) |
398 |
return iAudioDevice; |
return -1; |
399 |
if (pszAudioDriver == NULL) |
if (pszAudioDriver == NULL) |
400 |
return iAudioDevice; |
return -1; |
401 |
|
|
402 |
// Lock this section up. |
// Lock this section up. |
403 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
451 |
{ |
{ |
452 |
int iAudioDevices = -1; |
int iAudioDevices = -1; |
453 |
|
|
454 |
|
if (pClient == NULL) |
455 |
|
return -1; |
456 |
|
|
457 |
// Lock this section up. |
// Lock this section up. |
458 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
459 |
|
|
653 |
{ |
{ |
654 |
int iMidiDrivers = -1; |
int iMidiDrivers = -1; |
655 |
|
|
656 |
|
if (pClient == NULL) |
657 |
|
return -1; |
658 |
|
|
659 |
// Lock this section up. |
// Lock this section up. |
660 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
661 |
|
|
682 |
{ |
{ |
683 |
const char *pszSeps = ","; |
const char *pszSeps = ","; |
684 |
|
|
685 |
|
if (pClient == NULL) |
686 |
|
return NULL; |
687 |
|
|
688 |
// Lock this section up. |
// Lock this section up. |
689 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
690 |
|
|
775 |
int iMidiDevice = -1; |
int iMidiDevice = -1; |
776 |
|
|
777 |
if (pClient == NULL) |
if (pClient == NULL) |
778 |
return iMidiDevice; |
return -1; |
779 |
if (pszMidiDriver == NULL) |
if (pszMidiDriver == NULL) |
780 |
return iMidiDevice; |
return -1; |
781 |
|
|
782 |
// Lock this section up. |
// Lock this section up. |
783 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
831 |
{ |
{ |
832 |
int iMidiDevices = -1; |
int iMidiDevices = -1; |
833 |
|
|
834 |
|
if (pClient == NULL) |
835 |
|
return -1; |
836 |
|
|
837 |
// Lock this section up. |
// Lock this section up. |
838 |
lscp_mutex_lock(pClient->mutex); |
lscp_mutex_lock(pClient->mutex); |
839 |
|
|