Clean up audio player code