src/media/audio/audio_core/mixer/test/mixer_tests_recap.cc
//
// Display our gain sensitivity and dynamic range, in decibels
//
Display our gain sensitivity and dynamic range, in decibels
Display our gain sensitivity and dynamic range in decibels
void MixerTestsRecap::PrintDynamicRangeSummary() {
  printf("\n\n Dynamic Range");
  printf("\n   (in dB, with prior results, higher is better)");
  printf("\n\n      Input Gain       Mixed Result          Usable Range\n");
  printf("\n     %9.6lf  %10.6lf ( > %9.6lf)   %6.2lf (%6.2lf)", AudioResult::kMaxGainDbNonUnity,
         AudioResult::LevelEpsilonDown, AudioResult::kPrevLevelEpsilonDown,
         AudioResult::SinadEpsilonDown, AudioResult::kPrevSinadEpsilonDown);
  printf("\n    -30.0000    %8.4lf   (+/- %6.4lf  )   %6.2lf (%6.2lf)", AudioResult::Level30Down,
         AudioResult::kPrevDynRangeTolerance, AudioResult::Sinad30Down,
         AudioResult::kPrevSinad30Down);
  printf("\n    -60.0000    %8.4lf   (+/- %6.4lf  )   %6.2lf (%6.2lf)", AudioResult::Level60Down,
         AudioResult::kPrevDynRangeTolerance, AudioResult::Sinad60Down,
         AudioResult::kPrevSinad60Down);
  printf("\n    -90.0000    %8.4lf   (+/- %6.4lf  )   %6.2lf (%6.2lf)", AudioResult::Level90Down,
         AudioResult::kPrevDynRangeTolerance, AudioResult::Sinad90Down,
         AudioResult::kPrevSinad90Down);
  printf("\n\n");
}
void MixerTestsRecap :: PrintDynamicRangeSummary ( ) { printf ( " \n \n " ) ; printf ( " \n " ) ; printf ( " \n \n \n " ) ; printf ( " \n " , AudioResult :: kMaxGainDbNonUnity , AudioResult :: LevelEpsilonDown , AudioResult :: kPrevLevelEpsilonDown , AudioResult :: SinadEpsilonDown , AudioResult :: kPrevSinadEpsilonDown ) ; printf ( " \n " , AudioResult :: Level30Down , AudioResult :: kPrevDynRangeTolerance , AudioResult :: Sinad30Down , AudioResult :: kPrevSinad30Down ) ; printf ( " \n " , AudioResult :: Level60Down , AudioResult :: kPrevDynRangeTolerance , AudioResult :: Sinad60Down , AudioResult :: kPrevSinad60Down ) ; printf ( " \n " , AudioResult :: Level90Down , AudioResult :: kPrevDynRangeTolerance , AudioResult :: Sinad90Down , AudioResult :: kPrevSinad90Down ) ; printf ( " \n \n " ) ; }
Display our gain sensitivity and dynamic range, in decibels
Display our gain sensitivity and dynamic range in decibels