示例#1
0
func (s *Sample) GetData() unsafe.Pointer {
	return unsafe.Pointer(C.al_get_sample_data((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
示例#2
0
文件: audio.go 项目: 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))
}