SFML community forums
Help => Audio => Topic started by: malkierian on December 06, 2013, 02:39:33 am
-
Is it possible, in 2.0, to output a single audio stream to two devices simultaneously? I'm trying to make a virtual soundboard, but I need to be able to hook into at least two devices (a virtual cable that also has my microphone writing to it, and then to my headset speakers) to make it even worthwhile. Even if it's not possible in SFML, is it possible, period?
-
No, SFML doesn't support multiple output devices - you can't even select a device via SFML. SFML will just pick the currently active one.
For audio input Foaly has implemented a selection just recently (http://en.sfml-dev.org/forums/index.php?topic=13011.0), which is now available in the latest source code.
Creating such an "audio cable" is a non-trivial task and I'm not sure if it can even be done well enough with OpenAL, but feel free to try. ;)
-
Well, the virtual cable is already taken care of with the program Virtual Audio Cable, I would just need to tie into that. Looks like I'll have to go into OpenAL and figure it out myself. Thanks, though.