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 de-
       livery.

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
       frameserver 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	determines how far in advance of the next deadline frame  gen-
       eration	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	trans-
       mission 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
	      hijack libraries will be updated to include support.  hijack and
	      decode will also

targetcontrol			  April	2025		   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+14.3.quarterly>

home | help