src/media/audio/audio_core/mixer/test/mixer_response_tests.cc
// Measure level response and noise floor for 1kHz sine from 16-bit source.
Measure level response and noise floor for 1kHz sine from 16-bit source.
Measure level response and noise floor for 1kHz sine from 16 - bit source .
TEST(NoiseFloor, Source_16) {
  AudioResult::LevelSource16 = MeasureSourceNoiseFloor<ASF::SIGNED_16>(&AudioResult::FloorSource16);
  EXPECT_NEAR(AudioResult::LevelSource16, 0.0, AudioResult::kPrevLevelToleranceSource16);
  AudioResult::LevelToleranceSource16 =
      fmax(AudioResult::LevelToleranceSource16, abs(AudioResult::LevelSource16));
  EXPECT_GE(AudioResult::FloorSource16, AudioResult::kPrevFloorSource16)
      << std::setprecision(10) << AudioResult::FloorSource16;
}
TEST ( NoiseFloor , Source_16 ) { AudioResult :: LevelSource16 = MeasureSourceNoiseFloor < ASF :: SIGNED_16 > ( & AudioResult :: FloorSource16 ) ; EXPECT_NEAR ( AudioResult :: LevelSource16 , 0.0 , AudioResult :: kPrevLevelToleranceSource16 ) ; AudioResult :: LevelToleranceSource16 = fmax ( AudioResult :: LevelToleranceSource16 , abs ( AudioResult :: LevelSource16 ) ) ; EXPECT_GE ( AudioResult :: FloorSource16 , AudioResult :: kPrevFloorSource16 ) << std :: setprecision ( 10 ) << AudioResult :: FloorSource16 ; }
Measure level response and noise floor for 1kHz sine from 16-bit source.
Measure level response and noise floor for 1kHz sine from 16 - bit source .