Exemple #1
0
func (s Sound) Play() {
	C.sfSound_play(s.internal)
}
Exemple #2
0
// \brief Start or resume playing a sound
// This function starts the sound if it was stopped, resumes
// it if it was paused, and restarts it from beginning if it
// was it already playing.// This function uses its own thread so that it doesn't block
// the rest of the program while the sound is played.
// \param sound Sound object
// void sfSound_play(sfSound* sound);
func (self Sound) Play() {
	C.sfSound_play(self.Cref)
}