Due to restrictions of the virtualization solution we use (VMware vSphere), which is primarily aimed for high performance server virtualization, where sound outputs are pretty useless, there’s no built in audio output on the Mac stacks.
This doesn’t cause any issue in most cases, but some projects or tools might actually require an audio output. For example QuickTime refuses to play any video when there’s no audio output of any kind.
The solution is fortunately pretty simple, you can simply add a virtual audio output device if you need it. There are a few options to do this, probably the easiest is to install
soundflower, which is a tool used for manipulating / piping audio between different tools, and it installs and uses a virtual (actually two) audio output to achieve the functionality.
As the virtual audio drivers are installed as part of the
soundflower installation, all you have to do is add a Script step to your workflow, any point before you’d use the audio output (can be the very first step of the workflow), with the following content:
#!/bin/bash set -ex brew install Caskroom/cask/soundflower
That’s all. When
soundflower it’ll also install two virtual audio devices, and macOS will recognize these as normal audio output (and input) devices.