Home
last modified time | relevance | path

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

/external/webrtc/audio/utility/
Daudio_frame_operations.cc32 void AudioFrameOperations::Add(const AudioFrame& frame_to_add, in Add() argument
37 RTC_DCHECK_EQ(result_frame->num_channels_, frame_to_add.num_channels_); in Add()
40 if (result_frame->samples_per_channel_ != frame_to_add.samples_per_channel_) { in Add()
43 result_frame->samples_per_channel_ = frame_to_add.samples_per_channel_; in Add()
48 frame_to_add.vad_activity_ == AudioFrame::kVadActive) { in Add()
51 frame_to_add.vad_activity_ == AudioFrame::kVadUnknown) { in Add()
55 if (result_frame->speech_type_ != frame_to_add.speech_type_) in Add()
58 if (!frame_to_add.muted()) { in Add()
59 const int16_t* in_data = frame_to_add.data(); in Add()
62 frame_to_add.samples_per_channel_ * frame_to_add.num_channels_; in Add()
Daudio_frame_operations.h34 static void Add(const AudioFrame& frame_to_add, AudioFrame* result_frame);