class AudioCoreThermalTest
Defined at line 18 of file ../../src/media/audio/audio_core/test/api/audio_core_thermal_test.cc
Protected Methods
void SetUpTestSuite ()
Defined at line 20 of file ../../src/media/audio/audio_core/test/api/audio_core_thermal_test.cc
void RunTestCase (uint32_t thermal_state, float gain_factor)
This is equivalent to, but a simplification of, running HermeticStepTest with parameters:
.test_name = "audio_core_float32_1chan_48k_thermal" + std::to_string(thermal_state),
.input_format = Format::Create
<ASF
::FLOAT>(1, 48000).take_value(),
.source_step_magnitude = 0.5f,
.source_step_width_in_frames = 1,
.path = RenderPath::Media,
.pipeline = { .ramp_in_width = MixProfileConfig::kDefaultPeriod.to_nsecs()
* 48000 * 2 / zx::sec(1).to_nsecs(),
.stabilization_width = 0, .destabilization_width = 0, .decay_width = 0 },
.thermal_state = thermal_state,
.output_format = Format::Create
<ASF
::FLOAT>(1, 48000).take_value(),
.expected_output_magnitude = 0.5f * gain_factor,
Defined at line 109 of file ../../src/media/audio/audio_core/test/api/audio_core_thermal_test.cc