fixed a couple of bugs in audio engine / dsp engine