fixed problem when using different numbers of audio inputs and outputs