Builder

class Builder

Builder for SonixRecorderConfig.

Builds Config objects, not recorder instances.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Set audio capture buffer size in milliseconds

Link copied to clipboard

Set encoder bitrate in bits per second

Link copied to clipboard

Set number of pre-allocated buffers for zero-allocation DSP

Link copied to clipboard

Set size of each buffer in samples

Link copied to clipboard

Build the immutable config

Link copied to clipboard

Set number of channels (1 = mono, 2 = stereo)

Link copied to clipboard

Enable acoustic echo cancellation

Link copied to clipboard

Enable segment recording for practice apps

Link copied to clipboard

Set audio format

Link copied to clipboard

Called when an error occurs

Link copied to clipboard

Called when audio level updates

Link copied to clipboard

Called when recording starts

Link copied to clipboard

Called when recording stops with output path

Link copied to clipboard

Called when recording state changes

Link copied to clipboard

Sync recording timeline with a playback source (backing track)

Link copied to clipboard

Start from a preset configuration

Link copied to clipboard

Set maximum bytes for encoding buffer ring

Link copied to clipboard

Set sample rate in Hz