SFML community forums

Help => Audio => Topic started by: c0der23 on February 15, 2023, 10:23:41 am

Title: Changing audio playback device
Post by: c0der23 on February 15, 2023, 10:23:41 am
I am trying to play a sound to 2 different audio devices at once. All I need to do is play the sound through a specific audio device. Is this possible? Would there be any way to make it possible?
I am on Windows is that makes a difference.
Title: Re: Changing audio playback device
Post by: Hapax on February 15, 2023, 12:54:15 pm
I've looked at this before but it seemed that it can only play on the device already chosen by the user, unlike recording where you can choose which device to use.
Title: Re: Changing audio playback device
Post by: eXpl0it3r on February 17, 2023, 08:54:45 am
You can't select an audio playback device as Hapax already pointed out.

Additionally, I don't think it's necessarily possible to play through two different audio devices at once, at least I've never seen an application do that.
Might be possible with something like Virtual Audio Cable (https://vb-audio.com/Cable/)
Title: Re: Changing audio playback device
Post by: Hapax on February 20, 2023, 05:15:06 am
Some audio-focused software can play audio on multiple devices at once; it's required for some forms of sound/music production.
This is pretty deep software though, quite difficult to actually do (and the software might not actually be able to see that there are multiple devices) and those sorts of hardware setups can be quite rare.