Example #1
0
File: audio.go Project: num5/steven
func (m Music) Stop() {
	C.sfMusic_stop(m.internal)
}
Example #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)
}