platform_hardware_interfaces/audio
Kevin Rocard 02025847de Audio VTS: HAL can support more than the native sampling rates
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>
2017-12-05 15:14:17 -08:00
..
2.0 Audio VTS: HAL can support more than the native sampling rates 2017-12-05 15:14:17 -08:00
common Update makefiles. (2/2) 2017-05-19 15:54:03 -07:00
effect VTS Audio Effect: Do not check the result of IEffect::offload method 2017-06-02 15:54:43 +00:00
Android.bp Audio VTS: Test now use Android.mk 2017-06-02 16:43:21 -07:00