Unload the PulseAudio library if the pulseaudio connection isn't available.
authorSam Lantinga
Tue, 26 Feb 2013 23:26:00 -0800
changeset 69343ce238619067
parent 6933 e56ed2eb139e
child 6936 76d9c31e823d
child 6942 bdb9e35bc877
Unload the PulseAudio library if the pulseaudio connection isn't available.
src/audio/pulseaudio/SDL_pulseaudio.c
     1.1 --- a/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Feb 26 16:31:52 2013 -0800
     1.2 +++ b/src/audio/pulseaudio/SDL_pulseaudio.c	Tue Feb 26 23:26:00 2013 -0800
     1.3 @@ -505,6 +505,7 @@
     1.4      }
     1.5  
     1.6      if (!CheckPulseAudioAvailable()) {
     1.7 +        UnloadPulseAudioLibrary();
     1.8          return 0;
     1.9      }
    1.10