hal: Set sample rate to 96 KHz for ultrasound
Change-Id: I812378aeedde583d7ebec249bd9e36dda3ced028
This commit is contained in:
parent
1e52928de5
commit
3658980760
|
@ -10689,6 +10689,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",
|
ALOGI("%s:becf: afe: Codec selected backend: %d updated bit width: %d and sample rate: %d",
|
||||||
__func__, backend_idx , bit_width, sample_rate);
|
__func__, backend_idx , bit_width, sample_rate);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue