SonixRecorderConfig

constructor(format: AudioFormat = AudioFormat.M4A, sampleRate: Int = 16000, channels: Int = 1, bitrate: Int = 64000, playbackSyncProvider: PlaybackInfoProvider? = null, enableSegmentRecording: Boolean = false, segmentOutputDirectory: String? = null, bufferPoolSize: Int = 4, bufferSampleSize: Int = 2048, recordingBufferSizeBytes: Int = 10 * 1024 * 1024, audioBufferSizeMs: Int = 40, echoCancellation: Boolean = false, onRecordingStarted: () -> Unit? = null, onRecordingStopped: (outputPath: String) -> Unit? = null, onError: (message: String) -> Unit? = null, onLevelUpdate: (level: Float) -> Unit? = null, onStateChange: (RecordingState) -> Unit? = null)