Ejemplo n.º 1
0
Archivo: audio.go Proyecto: num5/steven
func (s Sound) Play() {
	C.sfSound_play(s.internal)
}
Ejemplo n.º 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)
}