There are workarounds to stop WASAPI pausing , e.g.
In the Windows Sound control panel, just enable “Listen to this device” for any recording device that you are not using. Ensure that the device is muted (recording level set to zero). You now have a permanent, silent playback stream.
https://forum.audacityteam.org/t/option-to-record-a-dead-wasapi-stream-as-silence/60685/
Or record StereoMix (or equivalent) instead …
