sonyxperiadev / device-sony-loire

17 stars 40 forks source link

[N-MR0] rootdir: audio: add acdb_id mapping for incall speaker #123

Closed oshmoun closed 7 years ago

oshmoun commented 7 years ago

On stock, the device SND_DEVICE_OUT_VOICE_SPEAKER_WSA is the actual incall speaker, which is calibrated using acdb. Since that device has a different acdb_id than SND_DEVICE_OUT_VOICE_SPEAKER, this causes calibration to fail on AOSP, when using .acdb files from stock. This is due to that acdb_id mismatch Fix it by mapping SND_DEVICE_OUT_VOICE_SPEAKER on AOSP to the same acdb_id.

Change-Id: I735d649397c5364aa757462462a8f296e638f9d0