|
|
@@ -283,11 +283,15 @@ EXPORT void jack_set_info_function (print_function func) |
|
|
|
|
|
|
|
EXPORT jack_client_t* jack_client_new(const char* client_name) |
|
|
|
{ |
|
|
|
assert(gOpenMutex); |
|
|
|
gOpenMutex->Lock(); |
|
|
|
jack_error("jack_client_new: deprecated"); |
|
|
|
int options = JackUseExactName; |
|
|
|
if (getenv("JACK_START_SERVER") == NULL) |
|
|
|
options |= JackNoStartServer; |
|
|
|
return jack_client_open_aux(client_name, (jack_options_t)options, NULL, NULL); |
|
|
|
jack_client_t* res = jack_client_open_aux(client_name, (jack_options_t)options, NULL, NULL); |
|
|
|
gOpenMutex->Unlock(); |
|
|
|
return res; |
|
|
|
} |
|
|
|
|
|
|
|
EXPORT void* jack_port_get_buffer(jack_port_t* port, jack_nframes_t frames) |
|
|
|