Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Multiple Simultaneous Audio Output  (Read 2653 times)

0 Members and 1 Guest are viewing this topic.

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Multiple Simultaneous Audio Output
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11038
    • View Profile
    • development blog
    • Email
Re: Multiple Simultaneous Audio Output
« Reply #1 on: December 06, 2013, 08:47:29 am »
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, 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. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

malkierian

  • Newbie
  • *
  • Posts: 39
    • View Profile
Re: Multiple Simultaneous Audio Output
« Reply #2 on: December 06, 2013, 05:31:36 pm »
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.