static void ALSA_Exit_internal(void) { VC_Exit(); if (pcm_h) { alsa_pcm_drain_playback(pcm_h); alsa_pcm_close(pcm_h); pcm_h=NULL; } MikMod_free(audiobuffer); }
static void ALSA_Exit_internal(void) { VC_Exit(); if (pcm_h) { #ifdef OLD_ALSA alsa_pcm_drain_playback(pcm_h); #else alsa_pcm_drain(pcm_h); #endif alsa_pcm_close(pcm_h); pcm_h=NULL; } MikMod_free(audiobuffer); }