Searched refs:float_frame (Results 1 – 4 of 4) sorted by relevance
39 AudioFrameView<float> float_frame) { in ApplyGainWithRamping() argument48 for (int k = 0; k < float_frame.num_channels(); ++k) { in ApplyGainWithRamping()49 rtc::ArrayView<float> channel_view = float_frame.channel(k); in ApplyGainWithRamping()61 for (int i = 0; i < float_frame.samples_per_channel(); ++i) { in ApplyGainWithRamping()62 for (int ch = 0; ch < float_frame.num_channels(); ++ch) { in ApplyGainWithRamping()63 float_frame.channel(ch)[i] *= gain; in ApplyGainWithRamping()
55 const AudioFrameView<const float>& float_frame) { in ComputeLevel() argument56 RTC_DCHECK_GT(float_frame.num_channels(), 0); in ComputeLevel()57 RTC_DCHECK_EQ(float_frame.samples_per_channel(), samples_in_frame_); in ComputeLevel()61 for (int channel_idx = 0; channel_idx < float_frame.num_channels(); in ComputeLevel()63 const auto channel = float_frame.channel(channel_idx); in ComputeLevel()98 const auto channel = float_frame.channel(0); in ComputeLevel()
45 const AudioFrameView<const float>& float_frame);
164 AudioFrameView<float> float_frame(audio->channels(), audio->num_channels(), in Process() local167 speech_probability = vad_->Analyze(float_frame); in Process()193 float_frame, speech_probability.value(), limiter_.LastAudioLevel()); in Process()196 fixed_gain_applier_.ApplyGain(float_frame); in Process()198 limiter_.Process(float_frame); in Process()