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

Author Topic: Music does not rewind.  (Read 3062 times)

0 Members and 1 Guest are viewing this topic.

mejak

  • Newbie
  • *
  • Posts: 8
    • View Profile
Music does not rewind.
« on: May 14, 2024, 06:57:23 pm »
I'm using 2.5.1, and I noticed that when music streamed from a .flac file stops from playing to the end, it doesn't rewind, so the next time you play it, it immediately stops. I fixed it by calling stop() right before play().
If it's a known bug, or if it was fixed, or if I'm missing something, you can delete the thread, since I'm ok with my hacky fix, just thought you'd know.

kimci86

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Music does not rewind.
« Reply #1 on: May 14, 2024, 07:01:51 pm »
This is a known bug which was fixed in SFML 2.6
https://github.com/SFML/SFML/pull/2175