Someone complained about not being able to pause >:(

This commit is contained in:
2026-03-21 09:37:41 +10:00
parent 586e3dd032
commit 0fbd08ef69
+5
View File
@@ -433,6 +433,7 @@ ImGui_ImplSDL2_InitForVulkan(window);
done = true;
}
}
if (SDL_GetWindowFlags(window) & SDL_WINDOW_MINIMIZED) {
SDL_Delay(10);
continue;
@@ -660,6 +661,10 @@ void showAudioSettings() {
OSSPlayer_GstECont_Playbin3_Stop();
}
if(ImGui::Button("Play/Pause")) {
OSSPlayer_GstECont_Playbin3_PlayPause();
}
ImGui::End();
}