Recently, I was able to pair my Bluetooth headphones thanks to virtual_oss. It works great for most programs, but Wine apps continue to use my laptop speakers. When I go to the Audio tab in winecfg, my virtual audio device doesn't get listed among the available devices. I first filed a bug for audio/virtual_oss and Hans Petter Selasky (the port maintainer) said that probably the OSS backend in Wine needed to be patched. Other option he suggested was to give Wine some parameter to override the audio device. You can read more about it here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259719
I'm sorry, this is beyond my current areas of expertise and I won't be able to dig into this sufficiently to address it (plus I do not have a system to reproduce). Hopefully others will be able look into it - and note that hps@ and Alex S. have done some nice related work over in bug #259719.
Patricio, can you confirm this also is an issue with the wine-devel port (which is about a year newer in terms of improvements overall than the regular wine port)?
(In reply to Gerald Pfeifer from comment #2) Hi Gerald, sorry for not replying sooner... I just tried emulators/wine-devel v7.4,1 and unfortunately there's no change in this regard :( Tested on FreeBSD 13.1-RC1.
What?
I recently learned that you can actually listen your Wine apps sound output through your Bluetooth headphones, by appending '-l mixer' to the virtual_oss command used for this matter. Hence I guess I'm closing this.