mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-05-11 22:51:22 +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() {
|
int Render::AudioDeviceDestroy() {
|
||||||
SDL_CloseAudioDevice(output_dev_);
|
SDL_PauseAudioDevice(output_dev_, 1);
|
||||||
|
// SDL_CloseAudioDevice(output_dev_);
|
||||||
// SDL_CloseAudioDevice(input_dev_);
|
// SDL_CloseAudioDevice(input_dev_);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Vendored
+1
-1
Submodule thirdparty/projectx updated: b3802e65ee...5b2961df18
Reference in New Issue
Block a user