Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Unload the PulseAudio library if the pulseaudio connection isn't avai…
Browse files Browse the repository at this point in the history
…lable.
  • Loading branch information
slouken committed Feb 27, 2013
1 parent 1f6bca4 commit 363bfc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/pulseaudio/SDL_pulseaudio.c
Expand Up @@ -505,6 +505,7 @@ PULSEAUDIO_Init(SDL_AudioDriverImpl * impl)
}

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

Expand Down

0 comments on commit 363bfc3

Please sign in to comment.