Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
DotNet
»
Is there a way to check when a sound or music has ended or come to its end?
Print
Pages: [
1
]
Author
Topic: Is there a way to check when a sound or music has ended or come to its end? (Read 3206 times)
0 Members and 1 Guest are viewing this topic.
StormWingDelta
Sr. Member
Posts: 365
Is there a way to check when a sound or music has ended or come to its end?
«
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.
Logged
I have many ideas but need the help of others to find way to make use of them.
Laurent
Administrator
Hero Member
Posts: 32498
Re: Is there a way to check when a sound or music has ended or come to its end?
«
Reply #1 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.
Logged
Laurent Gomila - SFML developer
StormWingDelta
Sr. Member
Posts: 365
Re: Is there a way to check when a sound or music has ended or come to its end?
«
Reply #2 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.
Logged
I have many ideas but need the help of others to find way to make use of them.
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
DotNet
»
Is there a way to check when a sound or music has ended or come to its end?