pal: Fix corner case for 44.1KHz playback and 48Khz haptics concurrency.
When haptics usecase is active, and music playback comes at 44.1 KHz SR
on HS, then we need to switch HS to 48KHz SR. HS Sample Rate was being
set to 48KHz while checking haptics concurrency, but it was being overwritten
later to 44.1 KHz causing music playback playing noisy. So use mSampleRate to set
SR so that HS sample rate is not overwritten by getTopPriorityDeviceAttr.
Change-Id: I4ee7bac32e4727cf9a156c578f4ced8b58b2f34f
1 file changed