• Home
  • Raw
  • Download

Lines Matching refs:AudioFrame

32 void AudioFrameOperations::Add(const AudioFrame& frame_to_add,  in Add()
33 AudioFrame* result_frame) { in Add()
47 if (result_frame->vad_activity_ == AudioFrame::kVadActive || in Add()
48 frame_to_add.vad_activity_ == AudioFrame::kVadActive) { in Add()
49 result_frame->vad_activity_ = AudioFrame::kVadActive; in Add()
50 } else if (result_frame->vad_activity_ == AudioFrame::kVadUnknown || in Add()
51 frame_to_add.vad_activity_ == AudioFrame::kVadUnknown) { in Add()
52 result_frame->vad_activity_ = AudioFrame::kVadUnknown; in Add()
56 result_frame->speech_type_ = AudioFrame::kUndefined; in Add()
75 int AudioFrameOperations::MonoToStereo(AudioFrame* frame) { in MonoToStereo()
83 int AudioFrameOperations::StereoToMono(AudioFrame* frame) { in StereoToMono()
103 int AudioFrameOperations::QuadToStereo(AudioFrame* frame) { in QuadToStereo()
109 AudioFrame::kMaxDataSizeSamples); in QuadToStereo()
139 AudioFrame* frame) { in DownmixChannels()
141 AudioFrame::kMaxDataSizeSamples); in DownmixChannels()
158 AudioFrame* frame) { in UpmixChannels()
161 AudioFrame::kMaxDataSizeSamples); in UpmixChannels()
165 AudioFrame::kMaxDataSizeSamples) { in UpmixChannels()
182 void AudioFrameOperations::SwapStereoChannels(AudioFrame* frame) { in SwapStereoChannels()
194 void AudioFrameOperations::Mute(AudioFrame* frame, in Mute()
203 RTC_DCHECK_GE(AudioFrame::kMaxDataSizeSamples, total_samples); in Mute()
249 void AudioFrameOperations::Mute(AudioFrame* frame) { in Mute()
253 void AudioFrameOperations::ApplyHalfGain(AudioFrame* frame) { in ApplyHalfGain()
267 int AudioFrameOperations::Scale(float left, float right, AudioFrame* frame) { in Scale()
282 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame* frame) { in ScaleWithSat()