hal/audio_extn/cirrus_playback.c
100644 → 100755
+85
−24
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This patch enables loading the per-design tuning file located in the
vendor firmware directory. It also cleans up the file by renaming the
mutex and reduces period size for rx.
Bug: 71645808
Test done: boot and check on the tuning checksum loaded:
$ adb shell tinymix "Cirrus SP EXT Config" 0
$ adb shell tinymix "Cirrus SP EXT Config" 1
[Play an audio content]
$ adb shell /data/cirrus_sp_status
...
Checksum Tuning TX=-373044106 RX=-1089243130
Verify the checksum matches the expected values.
Change-Id: Ie1ef7abfe3f8fc9cdab86dfb2d10a65821845e5b
Signed-off-by:
David Lin <dtwlin@google.com>