File Output
data class FileOutput(val path: String, val encoder: AudioEncoder = AudioEncoder.forPath(path), val bitRate: Int)(source)
Properties
Link copied to clipboard
Bits per second for compressed encoders; ignored for AudioEncoder.Wav. On iOS it is lowered to the highest rate the encoder supports for the sample rate and channel count (about 50 kbit/s for 16 kHz mono).
Link copied to clipboard
Picked from the extension by default: .wav is AudioEncoder.Wav, anything else AAC.
Link copied to clipboard
Absolute path. An existing file is overwritten. AudioCapture.recordingPath gives one in the app's private storage.