hal: Set sample rate to 96 KHz for ultrasound
Change-Id: I812378aeedde583d7ebec249bd9e36dda3ced028
This commit is contained in:
parent
94738934b9
commit
4a8ebce550
|
@ -10715,6 +10715,11 @@ static bool platform_check_codec_backend_cfg(struct audio_device* adev,
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef ELLIPTIC_ULTRASOUND_ENABLED
|
||||
if (!backend_idx)
|
||||
sample_rate = 96000;
|
||||
#endif
|
||||
|
||||
ALOGI("%s:becf: afe: Codec selected backend: %d updated bit width: %d and sample rate: %d",
|
||||
__func__, backend_idx , bit_width, sample_rate);
|
||||
|
||||
|
|
Loading…
Reference in New Issue