From 61c39e61ac4070272093ed2d5edffc47e11abcd9 Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Fri, 28 Oct 2022 13:37:05 +0200 Subject: [PATCH] fixing the config name --- .../voicerecorder/recorder/MediaRecorderWrapper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/recorder/MediaRecorderWrapper.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/recorder/MediaRecorderWrapper.kt index 5032853..66c6a7c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/recorder/MediaRecorderWrapper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/recorder/MediaRecorderWrapper.kt @@ -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)