audio_reconfigure(3)
π audio_reconfigure(3) β bestie edition π
okay so welcome to audio_reconfigure(3) from the Library Functions Manual. Yes bestie, that's the manual name β we're folding it in right here at the top because we're cute AND accurate. π
β¨ NAME β¨
audio_reconfigure β control audio device output parameters. It's giving βaudio device output parameters? controlled.β periodt. π
π SYNOPSIS π
int:device
audio_reconfigure( cfgtbl )
π DESCRIPTION π
okay bestie, here's the tea: this function lets you reconfigure and enable/disable certain audio parameters. slay. But heads up β this might cause a buffering reset and queued samples might be lost depending on the configuration change. π That's the whole warning, no cap.
The returned device specifies new/old audio device identifier that can be used to re-assign audio sources to a newly assigned sink. π«Ά Keep track of that identifier, iykyk β it's how you re-assign audio sources to a newly assigned sink.
This function is mainly a hrtf toggle for the time being, thus marked experimental. β οΈ Literally experimental, bestie. Eventually it will become the control surface for handling hotplug events and enabling/disabling specific audio outputs. π
π₯ EXAMPLE π₯
This example is giving audio_reconfigure0() realness, comments and all:
-- @group: audio
-- @cfunction: audioreconf
-- @related:
function audio_reconfigure0()
audio_reconfigure({hrtf = true})
end
xoxo, your Unix bestie π β source/version: Arcan Lua API, date: October 2026. periodt. π¦
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms