Home
last modified time | relevance | path

Searched refs:number_of_channels (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/modules/audio_mixer/
Dframe_combiner_unittest.cc35 int number_of_channels; member
40 int number_of_channels, in ProduceDebugText() argument
44 ss << "number of channels: " << number_of_channels << " ,"; in ProduceDebugText()
52 ss << "number of channels: " << config.number_of_channels << " ,"; in ProduceDebugText()
62 void SetUpFrames(int sample_rate_hz, int number_of_channels) { in SetUpFrames() argument
66 AudioFrame::kVadActive, number_of_channels); in SetUpFrames()
75 for (const int number_of_channels : {1, 2, 4, 8}) { in TEST()
77 SetUpFrames(rate, number_of_channels); in TEST()
81 ProduceDebugText(rate, number_of_channels, number_of_frames)); in TEST()
84 combiner.Combine(frames_to_combine, number_of_channels, rate, in TEST()
[all …]
Dframe_combiner.cc39 size_t number_of_channels, in SetAudioFrameFields() argument
52 AudioFrame::kVadUnknown, number_of_channels); in SetAudioFrameFields()
79 size_t number_of_channels, in MixToFloatFrame() argument
82 RTC_DCHECK_LE(number_of_channels, FrameCombiner::kMaximumNumberOfChannels); in MixToFloatFrame()
91 for (size_t j = 0; j < std::min(number_of_channels, in MixToFloatFrame()
97 (*mixing_buffer)[j][k] += frame->data()[number_of_channels * k + j]; in MixToFloatFrame()
114 const size_t number_of_channels = mixing_buffer_view.num_channels(); in InterleaveToAudioFrame() local
117 for (size_t i = 0; i < number_of_channels; ++i) { in InterleaveToAudioFrame()
119 audio_frame_for_mixing->mutable_data()[number_of_channels * j + i] = in InterleaveToAudioFrame()
144 size_t number_of_channels, in Combine() argument
[all …]
Daudio_frame_manipulator_unittest.cc21 size_t number_of_channels, in FillFrameWithConstants() argument
24 frame->num_channels_ = number_of_channels; in FillFrameWithConstants()
27 std::fill(frame_data, frame_data + samples_per_channel * number_of_channels, in FillFrameWithConstants()
Daudio_mixer_impl_unittest.cc53 int number_of_channels, in ProduceDebugText() argument
57 ss << "Number of channels: " << number_of_channels << " "; in ProduceDebugText()
313 for (size_t number_of_channels : {1, 2}) { in TEST()
316 mixer->Mix(number_of_channels, &frame_for_mixing); in TEST()
317 EXPECT_EQ(number_of_channels, frame_for_mixing.num_channels_); in TEST()
518 for (const size_t number_of_channels : {1, 2}) { in TEST()
533 mixer->Mix(number_of_channels, &frame_for_mixing); in TEST()
535 EXPECT_EQ(number_of_channels, frame_for_mixing.num_channels_); in TEST()
Daudio_mixer_impl.cc121 void AudioMixerImpl::Mix(size_t number_of_channels, in Mix() argument
123 RTC_DCHECK(number_of_channels >= 1); in Mix()
131 frame_combiner_.Combine(GetAudioFromSources(), number_of_channels, in Mix()
Dframe_combiner.h36 size_t number_of_channels,
Daudio_mixer_impl.h64 void Mix(size_t number_of_channels,
/external/webrtc/audio/
Daudio_transport_impl.cc72 const int number_of_channels = static_cast<int>(frame.num_channels_); in Resample() local
76 number_of_channels); in Resample()
81 frame.data(), frame.samples_per_channel_ * number_of_channels, in Resample()
82 destination, number_of_channels * target_number_of_samples_per_channel); in Resample()
100 const size_t number_of_channels, in RecordedDataIsAvailable() argument
108 RTC_DCHECK_GE(number_of_channels, 1); in RecordedDataIsAvailable()
109 RTC_DCHECK_LE(number_of_channels, 2); in RecordedDataIsAvailable()
110 RTC_DCHECK_EQ(2 * number_of_channels, bytes_per_sample); in RecordedDataIsAvailable()
114 RTC_DCHECK_LE(bytes_per_sample * number_of_frames * number_of_channels, in RecordedDataIsAvailable()
128 InitializeCaptureFrame(sample_rate, send_sample_rate_hz, number_of_channels, in RecordedDataIsAvailable()
[all …]
Daudio_transport_impl.h57 size_t number_of_channels,
/external/webrtc/api/
Dmedia_stream_interface.h198 size_t number_of_channels, in OnData() argument
210 size_t number_of_channels, in OnData() argument
215 return OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
/external/webrtc/pc/
Drtp_sender.h220 size_t number_of_channels,
228 size_t number_of_channels, in OnData() argument
230 OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
Drtp_sender.cc393 size_t number_of_channels, in OnData() argument
398 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
/external/webrtc/api/test/
Dmock_audio_mixer.h24 MOCK_METHOD(void, Mix, (size_t number_of_channels, AudioFrame*), (override));
/external/webrtc/media/base/
Daudio_source.h32 size_t number_of_channels,
Dfake_media_engine.cc41 size_t number_of_channels, in OnData() argument
Dfake_media_engine.h370 size_t number_of_channels,
/external/webrtc/api/audio/
Daudio_mixer.h70 virtual void Mix(size_t number_of_channels,
/external/webrtc/modules/audio_device/include/
Dmock_audio_transport.h55 size_t number_of_channels,
Daudio_device_defines.h62 size_t number_of_channels,
/external/webrtc/examples/unityplugin/
Dunity_plugin_apis.h39 int number_of_channels,
Dsimple_peer_connection.h100 size_t number_of_channels,
Dsimple_peer_connection.cc558 size_t number_of_channels, in OnData() argument
562 static_cast<int>(number_of_channels), in OnData()
/external/webrtc/pc/test/
Dfake_audio_capture_module_unittest.cc65 size_t number_of_channels, in PullRenderData() argument
/external/webrtc/modules/audio_device/
Daudio_device_data_observer.cc108 size_t number_of_channels, in PullRenderData() argument
/external/webrtc/sdk/objc/unittests/
DRTCAudioDeviceModule_xctest.mm96 size_t number_of_channels,

12