I'd suggest checking if the audio device you're using is marked as default - right-click on speaker icon on your Taskbar, select Playback Devices and see if the device you want to use is set as default.
Spotify uses the default device. 🙂
Let me know how you get on!
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.