GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
capture_audio(3) Arcan Lua API capture_audio(3)

capture_audio - Setup an audio device capture stream

AID or NIL
capture_audio( devstr )

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).

1
The device must be supported by the underlying sound support system (and emitt audio data that matches the compile-time defined format, e.g. 44100/16bit/2ch LE 16 samples) and must match a valid entry as provided by list_audio_inputs

function capture_audio0()
      a = list_audio_inputs();
      b = capture_audio(a[1]);
end

function capture_audio0()
      b = capture_audio(-1);
end

list_audio_inputs(3)

June 2022 audio

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.