Thanks, great tip - this really helped us as we are building audio applications for iOS
Another tool that we needed to get our tests running is switchaudio-osx
brew install switchaudio-osx
This allows you to choose which soundflower input/output device you want to use as the default soundflower device seemed to be 64ch which is incompatible with our applications
Select the input device (e.g. 2ch) using
SwitchAudioSource -s "Soundflower (2ch)" -t input
and the output device using
SwitchAudioSource -s "Soundflower (2ch)" -t output