Skip to content

Commit 33e332f

Browse files
authored
JackClient: don't auto-start jackd (#21)
1 parent 2063f39 commit 33e332f

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

apf/jackclient.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -490,13 +490,8 @@ JackClient::JackClient(const std::string& name
490490
throw jack_error("Client name is too long! ('" + name + "')");
491491
}
492492

493-
// TODO: make parameters for these options:
494-
//jack_options_t options = JackNoStartServer;
495-
jack_options_t options = JackUseExactName;
496-
//jack_options_t options = JackNullOption;
497-
498-
// JackNoStartServer: see also JACK_NO_START_SERVER
499-
// TODO: JackServerName? needs extra parameter in jack_client_open()!
493+
jack_options_t options = static_cast<jack_options_t>(
494+
JackNoStartServer | JackUseExactName);
500495

501496
jack_status_t status;
502497
_client = jack_client_open(name.c_str(), options, &status);

0 commit comments

Comments
 (0)