GUI: better

This commit is contained in:
tildearrow 2023-09-16 15:04:11 -05:00
parent 083f870930
commit b105dd535f
4 changed files with 26 additions and 11 deletions

View file

@ -446,7 +446,7 @@ class DivEngine {
// bitfield
unsigned char walked[8192];
bool isMuted[DIV_MAX_CHANS];
std::mutex isBusy, saveLock;
std::mutex isBusy, saveLock, playPosLock;
String configPath;
String configFile;
String lastError;
@ -848,6 +848,9 @@ class DivEngine {
// get current row
int getRow();
// synchronous get order/row
void getPlayPos(int& order, int& row);
// get beat/bar
int getElapsedBars();
int getElapsedBeats();