Searched refs:target_number_of_channels (Results 1 – 4 of 4) sorted by relevance
58 void RemixFrame(size_t target_number_of_channels, AudioFrame* frame) { in RemixFrame() argument59 RTC_DCHECK_GE(target_number_of_channels, 1); in RemixFrame()61 if (frame->num_channels() == target_number_of_channels) { in RemixFrame()69 if (target_number_of_channels < 3 && frame->num_channels() < 3) { in RemixFrame()70 if (frame->num_channels() > target_number_of_channels) { in RemixFrame()71 AudioFrameOperations::DownmixChannels(target_number_of_channels, frame); in RemixFrame()73 AudioFrameOperations::UpmixChannels(target_number_of_channels, frame); in RemixFrame()81 GuessChannelLayout(target_number_of_channels)); in RemixFrame()87 RTC_DCHECK_EQ(frame->num_channels(), target_number_of_channels) in RemixFrame()89 << target_number_of_channels; in RemixFrame()
29 void RemixFrame(size_t target_number_of_channels, AudioFrame* frame);
157 void AudioFrameOperations::UpmixChannels(size_t target_number_of_channels, in UpmixChannels() argument160 RTC_DCHECK_LE(frame->samples_per_channel_ * target_number_of_channels, in UpmixChannels()164 frame->samples_per_channel_ * target_number_of_channels > in UpmixChannels()173 for (size_t j = 0; j < target_number_of_channels; ++j) { in UpmixChannels()174 frame->mutable_data()[target_number_of_channels * i + j] = in UpmixChannels()179 frame->num_channels_ = target_number_of_channels; in UpmixChannels()
76 static void UpmixChannels(size_t target_number_of_channels,