Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
target_framemode(3)		  Arcan Lua API 	     target_framemode(3)

NAME
     target_framemode  - Hint to the target frameserver to restrict frame deliv-
     ery.

SYNOPSIS
     nil
     target_framemode( tgtid, skipval, prewake, preaud, skipdbg1, skipdbg2 )

DESCRIPTION
     Some frameservers can be instructed  to  ignore  transferring  frames  with
     deadlines that cannot be matched. The semantics for skipval: -1 ( NONE ) --
     always  deliver  every  frame, stall if necessary. 0 ( AUTO ) -- the frame-
     server is responsible for only delivering relevant frames. 0 <  n	<=  9  (
     STEP n) -- only process every n frames, retain clock. 9 < n < * ( FASTFWD )
     --  only  process every n (n - 9) frames, fast forward clock.  prewake  de-
     termines how far in advance of the next deadline  frame  generation  should
     begin.  preaud  forcibly desynchs A/V clock n frames in order to allow some
     buffering.  *skipdbg1/skipdbg2*  if  these  are set to > 0, random() jitter
     sleeps are inserted before generation and transmission  to  troubleshoot  /
     optimize timing in the main process.

NOTES
     1	    Switching skipmode may force an audio buffer flush.

     2	    Only libretro follows this pattern at the moment, but decode and hi-
	    jack  libraries  will be updated to include support.  hijack and de-
	    code will also

targetcontrol			   August 2026		     target_framemode(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=target_framemode&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help