reference player work

memory usage cap, garbage collection and sinc interpolation
also ability to set playback position to a negative value
This commit is contained in:
tildearrow 2025-10-27 14:24:16 -05:00
parent f77aafb44d
commit 7a7a871198
7 changed files with 254 additions and 56 deletions

View file

@ -253,8 +253,8 @@ bool finishLogFile() {
// flush
logFileLockI.lock();
logFileNotify.notify_one();
while (!iAmReallyDead) {
logFileNotify.notify_one();
std::this_thread::yield();
std::this_thread::sleep_for(std::chrono::milliseconds(10));
}