mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 19:54:17 -05:00
Unload the PulseAudio library if the pulseaudio connection isn't available.
This commit is contained in:
@@ -505,6 +505,7 @@ PULSEAUDIO_Init(SDL_AudioDriverImpl * impl)
|
||||
}
|
||||
|
||||
if (!CheckPulseAudioAvailable()) {
|
||||
UnloadPulseAudioLibrary();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user