Failed to open PortAudio audio device

I haven’t found a solution, but I am getting exactly the same error when I use the built-in speakers on a work laptop (lenovo legion 5, which uses Realtek drivers it seems). Using the built-in speakers on an ‘EIZO FlexScan EV2451’ monitor, or Sennheiser 4.40BT headphones, works with no apparent issues.

There’s also a separate thread where a similar issue is reported.