Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43ab3718 authored by Rivukanta Bhattacharya's avatar Rivukanta Bhattacharya
Browse files

libaudiopreprocessing: Test few more sampling rates

Added 11025, 12000, 22050, 44100 Hz sampling rates in test
script and EffectPreprocessingTest

Bug: 178513382
Test: build_and_run_all_unit_tests.sh in host and device
Test: atest EffectPreprocessingTest

Change-Id: I10c73f091e46b2771993420ed938726615a7e10c
parent 08d9d325
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -88,7 +88,8 @@ class EffectTestHelper {

    static constexpr size_t kNumChMasks = std::size(kChMasks);

    static constexpr size_t kSampleRates[] = {8000, 16000, 24000, 32000, 48000};
    static constexpr size_t kSampleRates[] = {8000,  11025, 12000, 16000, 22050,
                                              24000, 32000, 44100, 48000};

    static constexpr size_t kNumSampleRates = std::size(kSampleRates);

+4 −0
Original line number Diff line number Diff line
@@ -59,9 +59,13 @@ flags_arr=(

fs_arr=(
    8000
    11025
    12000
    16000
    22050
    24000
    32000
    44100
    48000
)