Exemple #1
0
func (v *Voice) GetFrequency() uint32 {
	return uint32(C.al_get_voice_frequency((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
Exemple #2
0
// Returns the frequency of the voice
func (self *Voice) Frequency() uint {
	return uint(C.al_get_voice_frequency(self.handle))
}