示例#1
0
func (v *Voice) GetPosition() uint32 {
	return uint32(C.al_get_voice_position((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns the position of the voice
func (self *Voice) Position() uint {
	return uint(C.al_get_voice_position(self.handle))
}