Searched refs:src_sample_rate_hz (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/common_audio/resampler/ |
D | push_resampler.cc | 30 void CheckValidInitParams(int src_sample_rate_hz, in CheckValidInitParams() argument 36 RTC_DCHECK_GT(src_sample_rate_hz, 0); in CheckValidInitParams() 68 int PushResampler<T>::InitializeIfNeeded(int src_sample_rate_hz, in InitializeIfNeeded() argument 71 CheckValidInitParams(src_sample_rate_hz, dst_sample_rate_hz, num_channels); in InitializeIfNeeded() 73 if (src_sample_rate_hz == src_sample_rate_hz_ && in InitializeIfNeeded() 80 if (src_sample_rate_hz <= 0 || dst_sample_rate_hz <= 0 || num_channels <= 0) { in InitializeIfNeeded() 84 src_sample_rate_hz_ = src_sample_rate_hz; in InitializeIfNeeded() 89 static_cast<size_t>(src_sample_rate_hz / 100); in InitializeIfNeeded()
|
/external/webrtc/audio/ |
D | remix_resample_unittest.cc | 36 int src_sample_rate_hz, 159 int src_sample_rate_hz, in RunResampleTest() argument 168 (1.0 * src_sample_rate_hz) / dst_sample_rate_hz; in RunResampleTest() 178 SetMonoFrame(kSrcCh1, src_sample_rate_hz, &src_frame_); in RunResampleTest() 180 SetStereoFrame(kSrcCh1, kSrcCh2, src_sample_rate_hz, &src_frame_); in RunResampleTest() 182 SetQuadFrame(kSrcCh1, kSrcCh2, kSrcCh3, kSrcCh4, src_sample_rate_hz, in RunResampleTest() 209 static_cast<double>(dst_sample_rate_hz) / src_sample_rate_hz * in RunResampleTest() 212 src_channels, src_sample_rate_hz, dst_channels, dst_sample_rate_hz); in RunResampleTest() 215 if (src_sample_rate_hz == 96000 && dst_sample_rate_hz == 8000) { in RunResampleTest()
|
/external/webrtc/common_audio/ |
D | audio_converter_unittest.cc | 90 int src_sample_rate_hz, in RunAudioConverterTest() argument 96 (1.f * src_sample_rate_hz) / dst_sample_rate_hz; in RunAudioConverterTest() 100 const size_t src_frames = static_cast<size_t>(src_sample_rate_hz / 100); in RunAudioConverterTest() 128 src_sample_rate_hz == dst_sample_rate_hz in RunAudioConverterTest() 131 PushSincResampler::AlgorithmicDelaySeconds(src_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 | 31 int InitializeIfNeeded(int src_sample_rate_hz,
|