Example #1
0
func (s *SampleInstance) GetSample() *Sample {
	return (*Sample)(unsafe.Pointer(C.al_get_sample((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)))))
}
Example #2
0
File: audio.go Project: beoran/algo
// 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))
}