Example #1
0
func (s *Sample) GetData() unsafe.Pointer {
	return unsafe.Pointer(C.al_get_sample_data((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Example #2
0
File: audio.go Project: beoran/algo
// Returns the raw data pointer of the sample data.
func (self *Sample) DataRaw() unsafe.Pointer {
	return (C.al_get_sample_data(self.handle))
}