Fix host time sometimes skipping beats
Closes #104 Turns out that the tick can be just at the end of the audio block (ie, frame 511 of 512) and we will just barely miss it. Because the tick is reset from host info on every audio block (to always keep things in sync), we would miss the event because of just 1 sample. So give a little hand to make sure new beat is always triggered. Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
5e2473b6e9
commit
ac297f95f4
3 changed files with 28 additions and 12 deletions
|
@ -359,7 +359,7 @@ void Window::step() {
|
|||
bndSetFont(uiFont->handle);
|
||||
|
||||
// Set window title
|
||||
std::string windowTitle = APP_NAME + " " + APP_EDITION_NAME + " " + APP_VERSION;
|
||||
std::string windowTitle = "Cardinal";
|
||||
if (APP->patch->path != "") {
|
||||
windowTitle += " - ";
|
||||
if (!APP->history->isSaved())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue