SFML community forums

Bindings - other languages => DotNet => Topic started by: StormWingDelta on December 30, 2014, 07:27:12 pm

Title: Is there a way to check when a sound or music has ended or come to its end?
Post by: StormWingDelta on December 30, 2014, 07:27:12 pm
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.
Title: Re: Is there a way to check when a sound or music has ended or come to its end?
Post by: Laurent on December 30, 2014, 07:28:59 pm
Hmm? There's no difference, when a sound is stopped, whether manually or by itself, its status becomes Sound.Stopped.
Title: Re: Is there a way to check when a sound or music has ended or come to its end?
Post by: StormWingDelta on December 30, 2014, 07:33:13 pm
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.  ::)