Fixes the scheduling of the audioBuffer swap.