Skip to content

Commit

Permalink
opl: fix time calculation after tempo change
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeykt committed Apr 12, 2016
1 parent bd7a22c commit 6b2fc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opl/opl_queue.c
Expand Up @@ -210,7 +210,7 @@ void OPL_Queue_AdjustCallbacks(opl_callback_queue_t *queue,
for (i = 0; i < queue->num_entries; ++i)
{
offset = queue->entries[i].time - time;
queue->entries[i].time = time + (uint64_t) (offset * factor);
queue->entries[i].time = time + (uint64_t) (offset / factor);
}
}

Expand Down

0 comments on commit 6b2fc84

Please sign in to comment.