fixing the config name

This commit is contained in:
Tibor Kaputa 2022-10-28 13:37:05 +02:00 committed by GitHub
parent b8aa37c17e
commit 61c39e61ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ import java.io.FileDescriptor
class MediaRecorderWrapper(val context: Context) : Recorder {
private var recorder = MediaRecorder().apply {
setAudioSource(context.config.audio_source)
setAudioSource(context.config.audioSource)
setOutputFormat(context.config.getOutputFormat())
setAudioEncoder(context.config.getAudioEncoder())
setAudioEncodingBitRate(context.config.bitrate)