Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 7bba6821 authored by Luca Stefani's avatar Luca Stefani
Browse files

Recorder: Use default audio source in GoodQualityRecorder

Change-Id: Ie5aa823404222b30df23700d7868dc51185868e0
parent 1ab74447
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ class GoodQualityRecorder(private val context: Context) : SoundRecording {
            MediaRecorder()
        }).apply {
            setOutputFile(path.toFile())
            setAudioSource(MediaRecorder.AudioSource.MIC)
            setAudioSource(MediaRecorder.AudioSource.DEFAULT)
            setOutputFormat(MediaRecorder.OutputFormat.MPEG_4)
            setAudioEncoder(MediaRecorder.AudioEncoder.AAC)
            prepare()