engine/source/gamelib/soundmix.c
// Stop everything and free used memory
Stop everything and free used memory
Stop everything and free used memory
void sound_exit()
{
    sound_stop_playback();
    sound_unload_all_samples();
    if(mixbuf != NULL)
    {
        free(mixbuf);
        mixbuf = NULL;
    }
#ifdef PSP
    SB_exit();
#endif
    mixing_inited = 0;
}
void sound_exit ( ) { sound_stop_playback ( ) ; sound_unload_all_samples ( ) ; if ( mixbuf != NULL ) { free ( mixbuf ) ; mixbuf = NULL ; } #ifdef PSP SB_exit ( ) ; #endif mixing_inited = 0 ; }
Stop everything and free used memory
Stop everything and free used memory