mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-26 20:25:34 +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;
|
||||||
|
|||||||
2
thirdparty/projectx
vendored
2
thirdparty/projectx
vendored
Submodule thirdparty/projectx updated: b3802e65ee...5b2961df18
Reference in New Issue
Block a user