SFML community forums
Help => Audio => Topic started by: BloodGod on May 20, 2008, 03:56:00 pm
-
Hi there :)
Some days ago i made some tests with playing ogg files.
I stopped the music with the stop()-method. But after calling the play()-method the music didn't want to play. With pause() everything worked well, except the music was paused and not stopped ;)
if (Event.Type == sf::Event::KeyPressed)
{
if(Event.Key.Code == sf::Key::Left)
Music.Stop();
if(Event.Key.Code == sf::Key::Right)
Music.Play();
}
Sincerely,
BloodGod
EDIT:
System is Windows XP SP2 and OpenAL is installed...sound is playing without problems.
-
Hi
All I can say is that it works fine with the current sources. Maybe you should just wait for version 1.3 ;)
-
Hi,
ok, thank you =) This will goad me to improve my waiting skills :roll:
Sincerely,
BloodGod
-
or try the latest svn ;)
-
Hi =)
or try the latest svn Wink
That's a good idea, i'll try it and report possible success =D Maybe I should try this on Linux, too...
Sincerely,
BloodGod