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

Author Topic: Minor streaming-looping bug  (Read 3657 times)

0 Members and 2 Guests are viewing this topic.

drmoth

  • Newbie
  • *
  • Posts: 9
    • View Profile
Minor streaming-looping bug
« on: November 18, 2009, 02:41:15 am »
I've found a minor bug which is really not important, but I thought I'd flag it anyway..

If the file size of streaming (music) audio is less than the streaming chunk size then looping is ignored and playback always stops after the sound is played.

I believe this is due to
bool RequestStop = FillQueue();
which will return true in this case before entering the while-loop in SoundStream::Run()

Understandably streaming audio should never be this short (it defeats the purpose of streaming!), but it would be nice to have consistent behaviour if possible :)

thanks

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Minor streaming-looping bug
« Reply #1 on: November 18, 2009, 08:18:22 am »
I see. I'll try to fix this, thanks for your feedback :)
Laurent Gomila - SFML developer

 

anything