Switch Audio
Simple command line utility for switching audio inputs and outputs on macOS.
Usage
Usage: --list | --list-input | --list-output | --set-input=ID | --set-output=ID
--list : Shows all audio devices.
--list-input : Shows input audio devices.
--list-output : Shows output audio devices.
--set-input=ID : Sets the default input to given ID.
--set-output=ID : Sets the default outputz to given ID.