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
1 changed files with 1 additions and 1 deletions

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)