1
Audio / SetPlayingOffset: interesting bug!
« on: December 10, 2011, 02:06:24 am »
Beautiful! Works perfectly.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
#include <SFML/Audio.hpp>
int main()
{
sf::Music music;
music.OpenFromFile("song.ogg");
music.Play();
music.SetPlayingOffset(97392);
while (music.GetStatus() == sf::Music::Playing){}
return 0;
}
If you show us the relevant portion of your code, we might be able to come up with a solution.
// Load the sprite image from a file
sf::Image Image;
if (!Image.LoadFromFile("sprite.tga"))
return EXIT_FAILURE;