Ejemplo n.º 1
0
func (s *Sample) GetFrequency() uint32 {
	return uint32(C.al_get_sample_frequency((*C.ALLEGRO_SAMPLE)(unsafe.Pointer(s))))
}
Ejemplo n.º 2
0
Archivo: audio.go Proyecto: beoran/algo
// Returns the frequency of the sample
func (self *Sample) Frequency() uint {
	return uint(C.al_get_sample_frequency(self.handle))
}