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

@ -76,6 +76,8 @@ void FurnaceGUI::drawRefPlayer() {
if (vol>1.0f) vol=1.0f;
fp->setVolume(vol);
}
ImGui::Text("Memory usage: %" PRIu64 "K",fp->getMemUsage()>>10);
}
if (ImGui::IsWindowFocused(ImGuiFocusedFlags_ChildWindows)) curWindow=GUI_WINDOW_REF_PLAYER;
ImGui::End();