Using Apple earphones/microphone and speakers on Mac Mini 2018

I have a soundbar connected via USB A on my 2018 mini and occasionally use wired Apple earphone. You can switch output either through the Sound Control in System Preferences or the one on the Menu bar.