Fixed an issue where the chan array was cleared during audio_free,