initialize jack timeout parameter correctly (not doing this breaks JackOSX, maybe JACK too)
git-svn-id: svn://localhost/ardour2/branches/3.0@4077 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
13952beb51
commit
b12bedfe8a
@ -375,7 +375,7 @@ EngineControl::build_command_line (vector<string>& cmd)
|
||||
if (str != _("Ignore")) {
|
||||
double secs = 0;
|
||||
uint32_t msecs;
|
||||
atof (str);
|
||||
secs = atof (str);
|
||||
msecs = (uint32_t) floor (secs * 1000.0);
|
||||
cmd.push_back ("-t");
|
||||
cmd.push_back (to_string (msecs, std::dec));
|
||||
|
Loading…
Reference in New Issue
Block a user