patch proposed by issue 22 applied

This commit is contained in:
rafael@riseup.net 2010-07-19 20:44:56 +00:00
parent 62a088d81b
commit 7741eefd46
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ JackDspSource :: open ( void ) throw ( Exception )
snprintf(client_name, 255, "darkice-%d", getpid());
}
if ((client = jack_client_new(client_name)) == NULL) {
if ((client = jack_client_open(client_name, (jack_options_t)0, NULL)) == NULL) {
throw Exception( __FILE__, __LINE__, "JACK server not running?");
}
Reporter::reportEvent( 1, "Registering as JACK client", client_name);