FreeBSD Manual Pages
capture_audio(3) Arcan Lua API capture_audio(3) NAME capture_audio - Setup an audio device capture stream SYNOPSIS AID or NIL capture_audio( devstr ) DESCRIPTION This function is used for mapping an external capture device (e.g. a microphone) to an AID that can be used for monitoring (like forwarding to a recordtarget or a frameserver that does audio processing for voice recognition and similar features). NOTES 1 The device must be supported by the underlying sound support system (and emitt audio data that matches the compile-time de- fined format, e.g. 44100/16bit/2ch LE 16 samples) and must match a valid entry as provided by list_audio_inputs EXAMPLE function capture_audio0() a = list_audio_inputs(); b = capture_audio(a[1]); end MISUSE function capture_audio0() b = capture_audio(-1); end SEE ALSO: list_audio_inputs(3) audio April 2025 capture_audio(3)
NAME | SYNOPSIS | DESCRIPTION | NOTES | EXAMPLE | MISUSE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=capture_audio&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>