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