Beispiel #1
0
func (s *SampleInstance) GetSample() *Sample {
	return (*Sample)(unsafe.Pointer(C.al_get_sample((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)))))
}
Beispiel #2
0
// Gets the RAW sample data that was linked to the sample instance
func (self *SampleInstance) SampleRaw() *Sample {
	return wrapSampleRaw(C.al_get_sample(self.handle))
}