Someone complained about not being able to pause >:(
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user