GUI: improve note input timing
during playback, it rounds to nearest cell now this greatly enhances the recording experience to-do: test on higher latencies and see if we have to compensate somehow...
This commit is contained in:
parent
6deee95d87
commit
ad8d1b5060
3 changed files with 24 additions and 1 deletions
|
|
@ -2393,6 +2393,15 @@ void DivEngine::getPlayPos(int& order, int& row) {
|
|||
playPosLock.unlock();
|
||||
}
|
||||
|
||||
void DivEngine::getPlayPosTick(int& order, int& row, int& tick, int& speed) {
|
||||
playPosLock.lock();
|
||||
order=prevOrder;
|
||||
row=prevRow;
|
||||
tick=ticks;
|
||||
speed=nextSpeed;
|
||||
playPosLock.unlock();
|
||||
}
|
||||
|
||||
int DivEngine::getElapsedBars() {
|
||||
return elapsedBars;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue