src/media/audio/audio_core/mixer/test/mixer_response_tests.cc
// Measure level response and noise floor for 1kHz sine from 24-bit source.
Measure level response and noise floor for 1kHz sine from 24-bit source.
Measure level response and noise floor for 1kHz sine from 24 - bit source .
TEST(NoiseFloor, Source_24) {
  AudioResult::LevelSource24 =
      MeasureSourceNoiseFloor<ASF::SIGNED_24_IN_32>(&AudioResult::FloorSource24);
  EXPECT_NEAR(AudioResult::LevelSource24, 0.0, AudioResult::kPrevLevelToleranceSource24);
  AudioResult::LevelToleranceSource24 =
      fmax(AudioResult::LevelToleranceSource24, abs(AudioResult::LevelSource24));
  EXPECT_GE(AudioResult::FloorSource24, AudioResult::kPrevFloorSource24)
      << std::setprecision(10) << AudioResult::FloorSource24;
}
TEST ( NoiseFloor , Source_24 ) { AudioResult :: LevelSource24 = MeasureSourceNoiseFloor < ASF :: SIGNED_24_IN_32 > ( & AudioResult :: FloorSource24 ) ; EXPECT_NEAR ( AudioResult :: LevelSource24 , 0.0 , AudioResult :: kPrevLevelToleranceSource24 ) ; AudioResult :: LevelToleranceSource24 = fmax ( AudioResult :: LevelToleranceSource24 , abs ( AudioResult :: LevelSource24 ) ) ; EXPECT_GE ( AudioResult :: FloorSource24 , AudioResult :: kPrevFloorSource24 ) << std :: setprecision ( 10 ) << AudioResult :: FloorSource24 ; }
Measure level response and noise floor for 1kHz sine from 24-bit source.
Measure level response and noise floor for 1kHz sine from 24 - bit source .