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

Author Topic: No default Device  (Read 2571 times)

0 Members and 1 Guest are viewing this topic.

clement

  • Newbie
  • *
  • Posts: 2
    • View Profile
No default Device
« on: January 11, 2012, 03:04:14 pm »
Hi,

I just wanted to know if there is a possibility to check if there is a default audio device before create a new sf::music class.

Because my problem is that the computer i'm working on don't have default device so the sf::music makes me crash :S

Anybody have an idea ?

Thanks,

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
No default Device
« Reply #1 on: January 11, 2012, 03:13:07 pm »
This is currently not supported by SFML.
Laurent Gomila - SFML developer

clement

  • Newbie
  • *
  • Posts: 2
    • View Profile
No default Device
« Reply #2 on: January 12, 2012, 11:26:20 am »
Arf

And there is no tricks for check ?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
No default Device
« Reply #3 on: January 12, 2012, 12:02:19 pm »
Either use another audio library to check, or modify SFML.
Laurent Gomila - SFML developer

 

anything