Move all audio code over to audio_plugin.c