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

FreeBSD Manual Pages

  
 
  

home | help
audio_reconfigure(3)	    Library Functions Manual	    audio_reconfigure(3)

NAME
     audio_reconfigure - Control audio device output parameters

SYNOPSIS
     int:device
     audio_reconfigure( cfgtbl )

DESCRIPTION
     This function lets you reconfigure and enable/disable certain audio parame-
     ters.  This  might cause a buffering reset and queued samples might be lost
     depending on the configuration change.

     The returned device  specifies new/old audio device identifier that can  be
     used to re-assign audio sources to a newly assigned sink.

     This  function  is mainly a hrtf toggle for the time being, thus marked ex-
     perimental. Eventually it will become the control surface for handling hot-
     plug events and enabling/disabling specific audio outputs.

EXAMPLE
     -- @group: audio
     -- @cfunction: audioreconf
     -- @related:
     function audio_reconfigure0()
	   audio_reconfigure({hrtf = true})
     end

Arcan Lua API			   August 2026		    audio_reconfigure(3)

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

home | help