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

Author Topic: Is there a way to check when a sound or music has ended or come to its end?  (Read 3207 times)

0 Members and 1 Guest are viewing this topic.

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
I know it's some simple combination of what we have use of but forget exactly what it looks like to do this kind of check.  I see something for checking when a sound or music has been stopped by the programmer but don't see what to use for if it just ends on its own due to running out of sound or music to play.
I have many ideas but need the help of others to find way to make use of them.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Hmm? There's no difference, when a sound is stopped, whether manually or by itself, its status becomes Sound.Stopped.
Laurent Gomila - SFML developer

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
OK was just checking since sometimes when working with sounds in some other languages it doesn't do this check if the sound runs out on its own.  ::)
I have many ideas but need the help of others to find way to make use of them.