示例#1
0
func (s *Sample) GetFrequency() uint32 {
	return uint32(C.al_get_sample_frequency((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns the frequency of the sample
func (self *Sample) Frequency() uint {
	return uint(C.al_get_sample_frequency(self.handle))
}