Uninstall Soundflower from Mojave OS
It has been so frustrating to have Soundflower constantly intercept the audio output, and force me to go to System Preferences to click back to the Internal Speakers. But you can get rid of it once and for all.
The previous version of this question was answered for High Sierra, but the answer is different for Mojave.
Go to the System Library and find the Extensions folder.
Drag the soundflower.kext file into the trash.
Empty trash.
Restart computer.
(I've been frustrated by other advice that told me to remove something from the Library. I recently realized that there are two Libraries in the Mac, and I was searching the wrong one. One Library is inside the User folder (and it doesn't contain an extensions folder). The Library that you want is inside the HD folder (at the highest level of the folder hierarchy). (There is also a third Library that is inside the System folder at this same level, but it isn't modifiable.)
MacBook Pro 15", macOS 10.14