list_audio_inputs(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’– list_audio_inputs(3) β€” Arcan Lua API πŸ’–

okay bestie, welcome to the Arcan Lua API manual 🫢 this one’s about list_audio_inputs(3), and it’s literally here to help you get a list of the audio input devices that are available ✨


🌸 NAME 🌸

list_audio_inputs β€” retrieve a list of available audio input devices πŸ’…


✨ SYNOPSIS ✨

ainptbl
list_audio_inputs()

So the synopsis says the return situation is ainptbl, and the call is exactly list_audio_inputs() β€” no extra arguments, no secret handshake, periodt πŸŽ€


πŸ¦‹ EXAMPLE πŸ¦‹

okay so here’s the example, copied exactly because we do not play around with code πŸ’…

       function list_audio_inputs0()
             print("begin list of audio devices");
             for i,v in ipairs(list_audio_inputs()) do
                   print(v);
             end
             print("end of list of audio devices");
       end

It prints a beginning line, loops through list_audio_inputs() with ipairs, prints each v, then prints an ending line β€” iconic, useful, and lowkey very readable πŸ’–


πŸ”Ž SEE ALSO: πŸ”Ž


stay hydrated, keep your audio inputs listed, and mwah πŸ’‹ β€” this little page comes from the audio source/version, dated October 2026 πŸŽ€βœ¨

πŸ“¦ where this page comes from