示例#1
0
func (a *Stream) GetFrequency() uint32 {
	return uint32(C.al_get_audio_stream_frequency((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns the frequency of the audio stream
func (self *AudioStream) Frequency() uint {
	return uint(C.al_get_audio_stream_frequency(self.handle))
}