Example #1
0
func (s *SampleInstance) GetAttached() bool {
	return bool(C.al_get_sample_instance_attached((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: 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))
}