13
0

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:
Paul Davis 2008-11-01 12:26:53 +00:00
parent 13952beb51
commit b12bedfe8a

View File

@ -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));