I'd the same issue when you with a 2019 27” iMac with Windows 10 (1809) on exterior SSD with no audio to speakers or headphones. Just after plenty of Google searches I began to suspect a challenge with the Higher Definition Audio Unit (not the AMD one, in the event you have 1) while in the Device Supervisor (Sound, online video and game controlle