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

Author Topic: How select audio device?  (Read 3638 times)

0 Members and 1 Guest are viewing this topic.

Smogg

  • Newbie
  • *
  • Posts: 3
    • View Profile
How select audio device?
« on: April 19, 2015, 01:07:33 am »
I want allow users to  select audio device to replay mp3.
How i can do this on Windows with VS?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
AW: How select audio device?
« Reply #1 on: April 19, 2015, 02:58:19 am »
SFML doesn't support MP3 files. The rest is explained in the official tutorials.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Smogg

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How select audio device?
« Reply #2 on: April 19, 2015, 12:08:59 pm »
Ok, no mp3-support.

I can't find in tutorials anything about audio-output (
Something like this:

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: How select audio device?
« Reply #3 on: April 19, 2015, 01:41:44 pm »
Quote
The rest is explained in the official tutorials.
Well... not in tutorials, rather in the API documentation. And it's the selection of the recording device that was added to SFML 2.2 if I remember correctly, we still can't select the playback device :P
Laurent Gomila - SFML developer

Smogg

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: How select audio device?
« Reply #4 on: April 19, 2015, 07:14:00 pm »
Well... not in tutorials, rather in the API documentation. And it's the selection of the recording device that was added to SFML 2.2 if I remember correctly, we still can't select the playback device :P
Thanks.

If I really want it, so I should do it myself)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
AW: How select audio device?
« Reply #5 on: April 20, 2015, 11:51:29 am »
Right I forgot, SFML doesn't allow to pick the playback device. So yes, if you want, you'll have to implement it yourself.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/