Searched refs:dst_sample_rate_hz (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/audio/ |
D | remix_resample_unittest.cc | 38 int dst_sample_rate_hz); 161 int dst_sample_rate_hz) { in RunResampleTest() argument 168 (1.0 * src_sample_rate_hz) / dst_sample_rate_hz; in RunResampleTest() 186 SetMonoFrame(0, dst_sample_rate_hz, &dst_frame_); in RunResampleTest() 188 SetMonoFrame(dst_ch1, dst_sample_rate_hz, &golden_frame_); in RunResampleTest() 190 SetMonoFrame(dst_stereo_to_mono, dst_sample_rate_hz, &golden_frame_); in RunResampleTest() 192 SetMonoFrame(dst_quad_to_mono, dst_sample_rate_hz, &golden_frame_); in RunResampleTest() 194 SetStereoFrame(0, 0, dst_sample_rate_hz, &dst_frame_); in RunResampleTest() 196 SetStereoFrame(dst_ch1, dst_ch1, dst_sample_rate_hz, &golden_frame_); in RunResampleTest() 198 SetStereoFrame(dst_ch1, dst_ch2, dst_sample_rate_hz, &golden_frame_); in RunResampleTest() [all …]
|
/external/webrtc/common_audio/resampler/ |
D | push_resampler.cc | 31 int dst_sample_rate_hz, in CheckValidInitParams() argument 37 RTC_DCHECK_GT(dst_sample_rate_hz, 0); in CheckValidInitParams() 69 int dst_sample_rate_hz, in InitializeIfNeeded() argument 71 CheckValidInitParams(src_sample_rate_hz, dst_sample_rate_hz, num_channels); in InitializeIfNeeded() 74 dst_sample_rate_hz == dst_sample_rate_hz_ && in InitializeIfNeeded() 80 if (src_sample_rate_hz <= 0 || dst_sample_rate_hz <= 0 || num_channels <= 0) { in InitializeIfNeeded() 85 dst_sample_rate_hz_ = dst_sample_rate_hz; in InitializeIfNeeded() 91 static_cast<size_t>(dst_sample_rate_hz / 100); in InitializeIfNeeded()
|
/external/webrtc/common_audio/ |
D | audio_converter_unittest.cc | 92 int dst_sample_rate_hz) { in RunAudioConverterTest() argument 96 (1.f * src_sample_rate_hz) / dst_sample_rate_hz; in RunAudioConverterTest() 101 const size_t dst_frames = static_cast<size_t>(dst_sample_rate_hz / 100); in RunAudioConverterTest() 128 src_sample_rate_hz == dst_sample_rate_hz in RunAudioConverterTest() 132 dst_sample_rate_hz); in RunAudioConverterTest() 135 src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunAudioConverterTest()
|
/external/webrtc/common_audio/resampler/include/ |
D | push_resampler.h | 32 int dst_sample_rate_hz,
|