Fix a bug in the audio management