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.
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