/external/webrtc/modules/audio_mixer/ |
D | frame_combiner_unittest.cc | 35 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 …]
|
D | frame_combiner.cc | 39 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 …]
|
D | audio_frame_manipulator_unittest.cc | 21 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()
|
D | audio_mixer_impl_unittest.cc | 53 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()
|
D | audio_mixer_impl.cc | 121 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()
|
D | frame_combiner.h | 36 size_t number_of_channels,
|
D | audio_mixer_impl.h | 64 void Mix(size_t number_of_channels,
|
/external/webrtc/audio/ |
D | audio_transport_impl.cc | 72 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 …]
|
D | audio_transport_impl.h | 57 size_t number_of_channels,
|
/external/webrtc/api/ |
D | media_stream_interface.h | 198 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/ |
D | rtp_sender.h | 220 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()
|
D | rtp_sender.cc | 393 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/ |
D | mock_audio_mixer.h | 24 MOCK_METHOD(void, Mix, (size_t number_of_channels, AudioFrame*), (override));
|
/external/webrtc/media/base/ |
D | audio_source.h | 32 size_t number_of_channels,
|
D | fake_media_engine.cc | 41 size_t number_of_channels, in OnData() argument
|
D | fake_media_engine.h | 370 size_t number_of_channels,
|
/external/webrtc/api/audio/ |
D | audio_mixer.h | 70 virtual void Mix(size_t number_of_channels,
|
/external/webrtc/modules/audio_device/include/ |
D | mock_audio_transport.h | 55 size_t number_of_channels,
|
D | audio_device_defines.h | 62 size_t number_of_channels,
|
/external/webrtc/examples/unityplugin/ |
D | unity_plugin_apis.h | 39 int number_of_channels,
|
D | simple_peer_connection.h | 100 size_t number_of_channels,
|
D | simple_peer_connection.cc | 558 size_t number_of_channels, in OnData() argument 562 static_cast<int>(number_of_channels), in OnData()
|
/external/webrtc/pc/test/ |
D | fake_audio_capture_module_unittest.cc | 65 size_t number_of_channels, in PullRenderData() argument
|
/external/webrtc/modules/audio_device/ |
D | audio_device_data_observer.cc | 108 size_t number_of_channels, in PullRenderData() argument
|
/external/webrtc/sdk/objc/unittests/ |
D | RTCAudioDeviceModule_xctest.mm | 96 size_t number_of_channels,
|