Home
last modified time | relevance | path

Searched refs:result_frame (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/audio/utility/
Daudio_frame_operations.cc33 AudioFrame* result_frame) { in Add() argument
35 RTC_DCHECK(result_frame); in Add()
36 RTC_DCHECK_GT(result_frame->num_channels_, 0); in Add()
37 RTC_DCHECK_EQ(result_frame->num_channels_, frame_to_add.num_channels_); in Add()
39 bool no_previous_data = result_frame->muted(); in Add()
40 if (result_frame->samples_per_channel_ != frame_to_add.samples_per_channel_) { in Add()
42 RTC_DCHECK_EQ(result_frame->samples_per_channel_, 0); in Add()
43 result_frame->samples_per_channel_ = frame_to_add.samples_per_channel_; in Add()
47 if (result_frame->vad_activity_ == AudioFrame::kVadActive || in Add()
49 result_frame->vad_activity_ = AudioFrame::kVadActive; in Add()
[all …]
Daudio_frame_operations.h34 static void Add(const AudioFrame& frame_to_add, AudioFrame* result_frame);