Home
last modified time | relevance | path

Searched refs:src_channels (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/common_audio/
Daudio_converter.cc28 CopyConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in CopyConverter() argument
30 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter()
37 for (size_t i = 0; i < src_channels(); ++i) in Convert()
45 UpmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in UpmixConverter() argument
47 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter()
63 DownmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in DownmixConverter() argument
65 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in DownmixConverter()
75 for (size_t j = 0; j < src_channels(); ++j) in Convert()
77 dst_mono[i] = sum / src_channels(); in Convert()
84 ResampleConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in ResampleConverter() argument
[all …]
Daudio_converter_unittest.cc89 void RunAudioConverterTest(size_t src_channels, in RunAudioConverterTest() argument
104 if (src_channels == 2) in RunAudioConverterTest()
111 if (src_channels == 1) in RunAudioConverterTest()
118 if (src_channels == 1) in RunAudioConverterTest()
133 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest()
136 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
Daudio_converter.h29 static rtc::scoped_ptr<AudioConverter> Create(size_t src_channels,
42 size_t src_channels() const { return src_channels_; } in src_channels() function
49 AudioConverter(size_t src_channels, size_t src_frames, size_t dst_channels,
/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc34 void RunResampleTest(int src_channels,
126 void UtilityTest::RunResampleTest(int src_channels, in RunResampleTest() argument
138 if (src_channels == 1) in RunResampleTest()
145 if (src_channels == 1) in RunResampleTest()
151 if (src_channels == 1) in RunResampleTest()
165 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc1571 auto src_channels = &src[0]; in TEST_F() local
1576 &src_channels, kSamples, sample_rate, LayoutFromChannels(1), in TEST_F()
1589 EXPECT_NOERR(apm_->ProcessReverseStream(&src_channels, input_stream, in TEST_F()