Home
last modified time | relevance | path

Searched refs:rand_gen (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/modules/audio_processing/test/
Dsimulator_buffers.cc27 Random rand_gen(42); in SimulatorBuffers() local
29 &rand_gen, &render_input_buffer, &render_input_config, in SimulatorBuffers()
33 num_render_output_channels, &rand_gen, in SimulatorBuffers()
38 num_capture_input_channels, &rand_gen, in SimulatorBuffers()
43 num_capture_output_channels, &rand_gen, in SimulatorBuffers()
55 Random* rand_gen, in CreateConfigAndBuffer() argument
69 v = rand_gen->Rand<float>(); in CreateConfigAndBuffer()
Dsimulator_buffers.h37 Random* rand_gen,
/external/webrtc/modules/audio_processing/
Daudio_processing_impl_locking_unittest.cc304 RandomGenerator* rand_gen,
333 StatsProcessor(RandomGenerator* rand_gen,
348 RandomGenerator* rand_gen,
451 void SleepRandomMs(int max_sleep, RandomGenerator* rand_gen) { in SleepRandomMs() argument
452 int sleeptime = rand_gen->RandInt(0, max_sleep); in SleepRandomMs()
461 RandomGenerator* rand_gen) { in PopulateAudioFrame() argument
465 frame[ch][k] = amplitude * (2 * rand_gen->RandFloat() - 1); in PopulateAudioFrame()
475 RandomGenerator* rand_gen) { in PopulateAudioFrame() argument
482 frame[k * ch] = rand_gen->RandInt(2 * amplitude + 1) - amplitude - 1; in PopulateAudioFrame()
557 StatsProcessor::StatsProcessor(RandomGenerator* rand_gen, in StatsProcessor() argument
[all …]
Daudio_processing_performance_unittest.cc184 Random* rand_gen, in TimedThreadApiProcessor() argument
193 : rand_gen_(rand_gen), in TimedThreadApiProcessor()
332 size_t samples_per_channel, Random* rand_gen, in PrepareFrame()
337 frame[ch][k] = amplitude * (2 * rand_gen->Rand<float>() - 1); in PrepareFrame()
/external/webrtc/modules/audio_processing/agc2/
Dnoise_level_estimator_unittest.cc25 Random rand_gen(42); variable
49 return static_cast<float>(rand_gen.Rand(std::numeric_limits<int16_t>::min(), in WhiteNoiseGenerator()
Dsignal_classifier_unittest.cc25 Random rand_gen(42); variable
49 return static_cast<float>(rand_gen.Rand(std::numeric_limits<int16_t>::min(), in WhiteNoiseGenerator()