fixing the config name
This commit is contained in:
parent
b8aa37c17e
commit
61c39e61ac
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ import java.io.FileDescriptor
|
||||||
class MediaRecorderWrapper(val context: Context) : Recorder {
|
class MediaRecorderWrapper(val context: Context) : Recorder {
|
||||||
|
|
||||||
private var recorder = MediaRecorder().apply {
|
private var recorder = MediaRecorder().apply {
|
||||||
setAudioSource(context.config.audio_source)
|
setAudioSource(context.config.audioSource)
|
||||||
setOutputFormat(context.config.getOutputFormat())
|
setOutputFormat(context.config.getOutputFormat())
|
||||||
setAudioEncoder(context.config.getAudioEncoder())
|
setAudioEncoder(context.config.getAudioEncoder())
|
||||||
setAudioEncodingBitRate(context.config.bitrate)
|
setAudioEncodingBitRate(context.config.bitrate)
|
||||||
|
|
Loading…
Reference in a new issue