Пример #1
0
func (v *Voice) SetPosition(val uint32) bool {
	return bool(C.al_set_voice_position((*C.ALLEGRO_VOICE)(unsafe.Pointer(v)), C.uint(val)))
}
Пример #2
0
// Sets the position of the voice.
func (self *Voice) SetPosition(val uint) bool {
	return cb2b(C.al_set_voice_position(self.handle, C.uint(val)))
}