You might sometimes have multiple audio Input/Output devices connected to your Mac. An easy way to switch between then is to Option+Click on the speaker icon on your taskbar. You will see a dropdown menu that lists all the audio devices that you have. Then you can click either one of those.
Here is a mini video. (My second click is while holding the Option button)