Esempio n. 1
0
func (s *SampleInstance) GetSample() *Sample {
	return (*Sample)(unsafe.Pointer(C.al_get_sample((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)))))
}
Esempio n. 2
0
File: audio.go Progetto: 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))
}