예제 #1
0
func (s *SampleInstance) Play() bool {
	return bool(C.al_play_sample_instance((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
예제 #2
0
파일: audio.go 프로젝트: beoran/algo
// Plays the sample instance
func (self *SampleInstance) Play() bool {
	return cb2b(C.al_play_sample_instance(self.handle))
}