A live audio input request with a gain value.
Signature
type AudioStream { source: Str = "microphone"; volume: Number = 1; }The host owns microphone permission, capture lifecycle, and stream routing; this declaration does not open a microphone.
Fields
Examples
Request audio input
A host must grant permission and create any actual stream.
main.kj
Loading…Drag to orbit · select to inspect
0 entities
Scene controls
Results
Loading the language runtime…
Output 0
No output.
State
Compile source to inspect its values.
TraceNo execution yet
- Executed source spans appear here.
Expected output
microphone
Rust definition
Interpreter RecordValue stream schema, not a microphone session or audio buffer.
View Rust documentation →Support: resource contract