# onAudioRecordingStarted

open fun onAudioRecordingStarted(record: AudioRecordInfo)

Called when audio recording has started, before the first onAudioFrame call.

Optional — override to initialise per-session state that depends on the recording parameters (e.g. pre-computing per-sample phase increments for DSP, allocating format-specific buffers). A single listener may observe several recording sessions; this is invoked at the start of each one.

#### Parameters

record

Recording configuration in use.