diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 48c9679c..4d792448 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -5952,6 +5952,14 @@ void DivEngine::switchMaster() { } } +TAAudioDesc& DivEngine::getAudioDescWant() { + return want; +} + +TAAudioDesc& DivEngine::getAudioDescGot() { + return got; +} + void DivEngine::initDispatch() { isBusy.lock(); for (int i=0; igetAudioDescWant(); + TAAudioDesc& audioGot=e->getAudioDescGot(); + + ImGui::Text("want: %d samples @ %.0fHz\n",audioWant.bufsize,audioWant.rate); + ImGui::Text("got: %d samples @ %.0fHz\n",audioGot.bufsize,audioGot.rate); + ImGui::EndTabItem(); } if (ImGui::BeginTabItem("Emulation")) {