Exemple #1
0
func (m Music) Stop() {
	C.sfMusic_stop(m.internal)
}
Exemple #2
0
// \brief Stop playing a music
// This function stops the music if it was playing or paused,
// and does nothing if it was already stopped.
// It also resets the playing position (unlike sfMusic_Pause).
// \param music Music object
// void sfMusic_stop(sfMusic* music);
func (self Music) Stop() {
	C.sfMusic_stop(self.Cref)
}