mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ EngineControl::build_command_line (vector<string>& cmd)
|
||||||
if (str != _("Ignore")) {
|
if (str != _("Ignore")) {
|
||||||
double secs = 0;
|
double secs = 0;
|
||||||
uint32_t msecs;
|
uint32_t msecs;
|
||||||
atof (str);
|
secs = atof (str);
|
||||||
msecs = (uint32_t) floor (secs * 1000.0);
|
msecs = (uint32_t) floor (secs * 1000.0);
|
||||||
cmd.push_back ("-t");
|
cmd.push_back ("-t");
|
||||||
cmd.push_back (to_string (msecs, std::dec));
|
cmd.push_back (to_string (msecs, std::dec));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue