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

Author Topic: Program loads .WAV but does not play it back an/or I cant hear it!  (Read 8456 times)

0 Members and 1 Guest are viewing this topic.

TheRavenBlue

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Program loads .WAV but does not play it back an/or I cant hear it!
« Reply #15 on: December 19, 2015, 08:28:38 pm »
There's no reason to explicitly compare to bool literals, the values themselves are already true or false. Furthermore, explicitly writing the negated condition in the else branch is unnecessary and confusing.
    if (Bool.EnableMusic)
    {
        pMusic.play();
    }
    else
    {
        pMusic.stop();
    }

I tried to make that already and it did not work either but I will take a look into Jesper's Jukebox source and Ill return with an answer if I can get it to work or not!

 

anything