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

Commit fe095b41 authored by Helen Zeng's avatar Helen Zeng
Browse files

hal: Fix incall recording with AMR-WB format

Select AMR-WB and start incall recording, the audio quality is bad.
The root cause is that the sample rate is set to 8k not 16k for AMR-WB.
Use audio record configure instead of voice configure for incall recording.

Change-Id: Ib71e0e8d1f2c5eb72db3260110e55179e415fa26
CRs-Fixed: 576412
parent edf855df
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -231,7 +231,6 @@ int voice_check_and_set_incall_rec_usecase(struct audio_device *adev,
            return ret;
        }

        in->config = pcm_config_voice_call;
        session_id = voice_get_active_session_id(adev);
        ret = platform_set_incall_recoding_session_id(adev->platform,
                                                      session_id);