Home
last modified time | relevance | path

Searched refs:dst_sample_rate_hz (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc37 int dst_sample_rate_hz);
129 int dst_sample_rate_hz) { in RunResampleTest() argument
134 dst_sample_rate_hz; in RunResampleTest()
144 SetMonoFrame(&dst_frame_, 0, dst_sample_rate_hz); in RunResampleTest()
146 SetMonoFrame(&golden_frame_, dst_left, dst_sample_rate_hz); in RunResampleTest()
148 SetMonoFrame(&golden_frame_, dst_mono, dst_sample_rate_hz); in RunResampleTest()
150 SetStereoFrame(&dst_frame_, 0, 0, dst_sample_rate_hz); in RunResampleTest()
152 SetStereoFrame(&golden_frame_, dst_left, dst_left, dst_sample_rate_hz); in RunResampleTest()
154 SetStereoFrame(&golden_frame_, dst_left, dst_right, dst_sample_rate_hz); in RunResampleTest()
162 static_cast<double>(dst_sample_rate_hz) / src_sample_rate_hz * in RunResampleTest()
[all …]
/external/webrtc/webrtc/common_audio/resampler/
Dpush_resampler.cc34 int dst_sample_rate_hz, in InitializeIfNeeded() argument
37 dst_sample_rate_hz == dst_sample_rate_hz_ && in InitializeIfNeeded()
42 if (src_sample_rate_hz <= 0 || dst_sample_rate_hz <= 0 || in InitializeIfNeeded()
47 dst_sample_rate_hz_ = dst_sample_rate_hz; in InitializeIfNeeded()
53 static_cast<size_t>(dst_sample_rate_hz / 100); in InitializeIfNeeded()
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc92 int dst_sample_rate_hz) { in RunAudioConverterTest() argument
96 dst_sample_rate_hz; in RunAudioConverterTest()
101 const size_t dst_frames = static_cast<size_t>(dst_sample_rate_hz / 100); in RunAudioConverterTest()
127 const size_t delay_frames = src_sample_rate_hz == dst_sample_rate_hz ? 0 : in RunAudioConverterTest()
130 dst_sample_rate_hz); in RunAudioConverterTest()
133 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest()
/external/webrtc/webrtc/common_audio/resampler/include/
Dpush_resampler.h31 int InitializeIfNeeded(int src_sample_rate_hz, int dst_sample_rate_hz,