You could use the win-capture audio plugin for OBS, however it doesn't work reliably, and in some cases not at all, on newer versions of OBS. The only real way around this is to just capture desktop audio, unfortunately.