mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-06-30 02:52:05 +08:00
[fix] do not need to call SDL_CloseAudioDevice() before SDL_Quit()
This commit is contained in:
@@ -518,7 +518,8 @@ int Render::AudioDeviceInit() {
|
||||
}
|
||||
|
||||
int Render::AudioDeviceDestroy() {
|
||||
SDL_CloseAudioDevice(output_dev_);
|
||||
SDL_PauseAudioDevice(output_dev_, 1);
|
||||
// SDL_CloseAudioDevice(output_dev_);
|
||||
// SDL_CloseAudioDevice(input_dev_);
|
||||
|
||||
return 0;
|
||||
|
||||
Vendored
+1
-1
Submodule thirdparty/projectx updated: b3802e65ee...5b2961df18
Reference in New Issue
Block a user