Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Unload the PulseAudio library if the pulseaudio connection isn't avai…

…lable.
  • Loading branch information
slouken committed Feb 27, 2013
1 parent 1f6bca4 commit 363bfc30d88ac07f7c177d37e4cef82a7c25e36f
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/audio/pulseaudio/SDL_pulseaudio.c
@@ -505,6 +505,7 @@ PULSEAUDIO_Init(SDL_AudioDriverImpl * impl)
}

if (!CheckPulseAudioAvailable()) {
UnloadPulseAudioLibrary();
return 0;
}

0 comments on commit 363bfc3

Please sign in to comment.