예제 #1
0
func (s *SampleInstance) GetAttached() bool {
	return bool(C.al_get_sample_instance_attached((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
예제 #2
0
파일: audio.go 프로젝트: beoran/algo
// Returns wheter or not the sample instance is attached
func (self *SampleInstance) Attached() bool {
	return cb2b(C.al_get_sample_instance_attached(self.handle))
}