comparison src/audio/alsa/SDL_alsa_audio.c @ 357:5868b0f832f2

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Apr 2002 07:49:54 +0000
parents a1e54d1ba16f
children 5d07f9a47f17
comparison
equal deleted inserted replaced
356:a1e54d1ba16f 357:5868b0f832f2
185 if ( mixbuf != NULL ) { 185 if ( mixbuf != NULL ) {
186 SDL_FreeAudioMem(mixbuf); 186 SDL_FreeAudioMem(mixbuf);
187 mixbuf = NULL; 187 mixbuf = NULL;
188 } 188 }
189 if ( pcm_handle ) { 189 if ( pcm_handle ) {
190 snd_pcm_drain(pcm_handle);
190 snd_pcm_close(pcm_handle); 191 snd_pcm_close(pcm_handle);
191 pcm_handle = NULL; 192 pcm_handle = NULL;
192 } 193 }
193 } 194 }
194 195