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:
parent
f77aafb44d
commit
7a7a871198
7 changed files with 254 additions and 56 deletions
|
|
@ -633,6 +633,10 @@ void FurnaceGUI::drawMobileControls() {
|
|||
if (ImGui::Button(_("EffectList"))) {
|
||||
effectListOpen=!effectListOpen;
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button(_("RefPlayer"))) {
|
||||
refPlayerOpen=!refPlayerOpen;
|
||||
}
|
||||
if (ImGui::Button(_("Switch to Desktop Mode"))) {
|
||||
toggleMobileUI(!mobileUI);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue