Audio Switcher: Fix a crash when the audio resampling and channel remapping were enabled.

This commit fixes #3425.