Fix some issues about audio management