In a shell script, I would like to change the selection of the input device (i.e. "Choose a device for sound input") in the "Input" tab of the "Sound Preferences" in Gnome.
Any ideas how to do this?
Possibly "pacmd set-default-source" works if you are using pulseaudio, for example:
Find the source name using "pacmd list-source".