earliest implementation of sync

does not loop correctly
This commit is contained in:
tildearrow 2025-10-27 19:34:21 -05:00
parent 7a7a871198
commit 394c6c35aa
6 changed files with 70 additions and 4 deletions

View file

@ -73,6 +73,7 @@ class DivFilePlayer {
void mix(float** buf, int chans, unsigned int size);
ssize_t getPos();
ssize_t setPos(ssize_t newPos, unsigned int offset=0);
ssize_t setPosSeconds(ssize_t seconds, unsigned int micros, unsigned int offset=0);
bool isBlockPresent(ssize_t pos);
bool setBlockPriority(ssize_t pos, bool priority);