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