I found easier way than accepted answer from @Ivo Stoyanov to solve this. Just open the emulator config file (for my mac it’s /Users/{myname}/.android/avd/{emulator_name}/config.ini
and set
hw.audioInput=no
hw.audioOutput=no
If it’s not working then you should “Wipe Data” and “Cold Boot Now” in Android Virtual Device Manager