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

Commit e03d9e4b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "EnvironmentalReverbTest: Modify test parameter values" into main

parents 793d1f98 1ab80b06
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -43,13 +43,13 @@ static constexpr int kMinDelay = 0;
static const std::vector<TagVectorPair> kParamsIncreasingVector = {
        {EnvironmentalReverb::roomLevelMb, {-3500, -2800, -2100, -1400, -700, 0}},
        {EnvironmentalReverb::roomHfLevelMb, {-4000, -3200, -2400, -1600, -800, 0}},
        {EnvironmentalReverb::decayTimeMs, {800, 1600, 2400, 3200, 4000}},
        {EnvironmentalReverb::decayHfRatioPm, {100, 600, 1100, 1600, 2000}},
        {EnvironmentalReverb::decayTimeMs, {400, 800, 1200, 1600, 2000}},
        {EnvironmentalReverb::decayHfRatioPm, {1000, 900, 800, 700}},
        {EnvironmentalReverb::levelMb, {-3500, -2800, -2100, -1400, -700, 0}},
};

static const TagVectorPair kDiffusionParam = {EnvironmentalReverb::diffusionPm,
                                              {200, 400, 600, 800, 1000}};
                                              {100, 300, 500, 700, 900}};
static const TagVectorPair kDensityParam = {EnvironmentalReverb::densityPm,
                                            {0, 200, 400, 600, 800, 1000}};

@@ -281,7 +281,7 @@ class EnvironmentalReverbHelper : public EffectHelper {

    static constexpr int kDurationMilliSec = 500;
    static constexpr int kBufferSize = kSamplingFrequency * kDurationMilliSec / 1000;
    static constexpr int kInputFrequency = 1000;
    static constexpr int kInputFrequency = 2000;

    int mStereoChannelCount =
            getChannelCount(AudioChannelLayout::make<AudioChannelLayout::layoutMask>(