fixing the configs name

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

View File

@ -32,7 +32,7 @@ class Mp3Recorder(val context: Context) : Recorder {
@SuppressLint("MissingPermission")
private val audioRecord = AudioRecord(
context.config.audio_source,
context.config.audioSource,
SAMPLE_RATE,
AudioFormat.CHANNEL_IN_MONO,
AudioFormat.ENCODING_PCM_16BIT,