Skip to content

BufferInputOptions

Options controlling BufferInput behaviour beyond the audio format.

Defined in: src/providers/input/BufferInput.ts:101

Options controlling BufferInput behaviour beyond the audio format.

See

BufferInput for the provider these configure

Properties

PropertyTypeDefault valueDescriptionDefined in
autoDetect?booleantrueWhether to detect the audio format from the bytes pushed into the provider. Remarks When enabled, BufferInput sniffs the start of the stream for a container signature (WAV, OGG, MP3, FLAC, WebM, …) and fills in any format fields the constructor did not declare. Explicitly declared fields always win, so detection can only add information, never override it. Disable it to keep getMetadata() fixed at the declared values regardless of what is pushed.src/providers/input/BufferInput.ts:116

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency