I'd like to switch between different ubuntu sound mixer profiles, depending on what sound hardware I plug in or wirelessly activate.
The easiest way I think I can do this would be to have a script for each profile, which sets the hardware and volume levels. Would alsa be the program I'd be writing a script for? Or would it be for something else? Or is it pulse audio? I'm kinda confused.