02025847de
getSupportedSampleRate should return the native sampling rates, (IE. the sampling rates that can be played without resampling) but other sampling rates can be supported by the HAL. The test was too strict as it was failing if HALs were supporting more sample rates than there native (optimized) ones. For example, a HAL might have its best performance (no resampling) on 48kHz but still support 16kHz through resampling. Note: getSupportedSampleRate might be renamed to getNativeSampleRate in the next major HAL revision to avoid ambiguity. Test: vts-tradefed run commandAndExit vts --module VtsHalAudioV2_0Target -t CheckConfig.audioPolicyConfigurationValidation Bug: 69811500 Change-Id: I1ec1ce422bc5039637463c6641060508f4ee892b Signed-off-by: Kevin Rocard <krocard@google.com> |
||
---|---|---|
.. | ||
2.0 | ||
common | ||
effect | ||
Android.bp |