Example #1
0
func (s *SampleInstance) Play() bool {
	return bool(C.al_play_sample_instance((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Plays the sample instance
func (self *SampleInstance) Play() bool {
	return cb2b(C.al_play_sample_instance(self.handle))
}