Ejemplo n.º 1
0
func (v *Voice) GetPosition() uint32 {
	return uint32(C.al_get_voice_position((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
Ejemplo n.º 2
0
Archivo: audio.go Proyecto: beoran/algo
// Returns the position of the voice
func (self *Voice) Position() uint {
	return uint(C.al_get_voice_position(self.handle))
}