Example #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)))
}
Example #2
0
File: audio.go Project: beoran/algo
// 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)))
}