/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | time_stretch.h | 40 : sample_rate_hz_(sample_rate_hz), in TimeStretch() 46 assert(sample_rate_hz_ == 8000 || in TimeStretch() 47 sample_rate_hz_ == 16000 || in TimeStretch() 48 sample_rate_hz_ == 32000 || in TimeStretch() 49 sample_rate_hz_ == 48000); in TimeStretch() 92 const int sample_rate_hz_; variable
|
D | time_stretch_unittest.cc | 64 sample_rate_hz_(32000), in TimeStretchTest() 65 block_size_(30 * sample_rate_hz_ / 1000), // 30 ms in TimeStretchTest() 79 Accelerate accelerate(sample_rate_hz_, kNumChannels, background_noise_); in TestAccelerate() 104 const int sample_rate_hz_; member in webrtc::TimeStretchTest
|
D | neteq_stereo_unittest.cc | 51 sample_rate_hz_(GetParam().sample_rate), in NetEqStereoTest() 52 samples_per_ms_(sample_rate_hz_ / 1000), in NetEqStereoTest() 64 config.sample_rate_hz = sample_rate_hz_; in NetEqStereoTest() 91 switch (sample_rate_hz_) { in SetUp() 243 const int sample_rate_hz_; member in webrtc::NetEqStereoTest
|
D | neteq_external_decoder_unittest.cc | 174 sample_rate_hz_( in NetEqExternalVsInternalDecoderTest() 200 EXPECT_EQ(static_cast<size_t>(kOutputLengthMs * sample_rate_hz_ / 1000), in GetAndVerifyOutput() 227 int sample_rate_hz_; member in webrtc::NetEqExternalVsInternalDecoderTest
|
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
D | neteq_external_decoder_test.cc | 24 sample_rate_hz_(CodecSampleRateHz(codec_)), in NetEqExternalDecoderTest() 27 config.sample_rate_hz = sample_rate_hz_; in NetEqExternalDecoderTest() 35 kPayloadType, sample_rate_hz_)); in Init() 59 EXPECT_EQ(static_cast<size_t>(kOutputLengthMs * sample_rate_hz_ / 1000), in GetOutputAudio() 61 EXPECT_EQ(sample_rate_hz_, neteq_->last_output_sample_rate_hz()); in GetOutputAudio()
|
/external/webrtc/webrtc/voice_engine/ |
D | utility_unittest.cc | 27 src_frame_.sample_rate_hz_ = 16000; in UtilityTest() 28 src_frame_.samples_per_channel_ = src_frame_.sample_rate_hz_ / 100; in UtilityTest() 51 frame->sample_rate_hz_ = sample_rate_hz; in SetMonoFrame() 60 SetMonoFrame(frame, data, frame->sample_rate_hz_); in SetMonoFrame() 69 frame->sample_rate_hz_ = sample_rate_hz; in SetStereoFrame() 79 SetStereoFrame(frame, left, right, frame->sample_rate_hz_); in SetStereoFrame() 85 EXPECT_EQ(ref_frame.sample_rate_hz_, test_frame.sample_rate_hz_); in VerifyParams()
|
D | output_mixer.cc | 481 frame->sample_rate_hz_ = sample_rate_hz; in GetMixedAudio() 491 if (_audioFrame.sample_rate_hz_ != _mixingFrequencyHz) in DoOperationsOnCombinedSignal() 495 "mixing frequency = %d", _audioFrame.sample_rate_hz_); in DoOperationsOnCombinedSignal() 496 _mixingFrequencyHz = _audioFrame.sample_rate_hz_; in DoOperationsOnCombinedSignal() 527 frame.sample_rate_hz_ = _audioProcessingModulePtr->input_sample_rate_hz(); in DoOperationsOnCombinedSignal() 550 _audioFrame.sample_rate_hz_, in DoOperationsOnCombinedSignal() 571 if (sampleRate != _audioFrame.sample_rate_hz_) in InsertInbandDtmfTone() 575 (uint16_t)(_audioFrame.sample_rate_hz_)); in InsertInbandDtmfTone()
|
D | utility.cc | 28 src_frame.num_channels_, src_frame.sample_rate_hz_, in RemixAndResample() 53 if (resampler->InitializeIfNeeded(sample_rate_hz, dst_frame->sample_rate_hz_, in RemixAndResample() 57 << dst_frame->sample_rate_hz_ in RemixAndResample()
|
D | transmit_mixer.cc | 348 _audioFrame.sample_rate_hz_, in PrepareDemux() 385 MixOrReplaceAudioWithFile(_audioFrame.sample_rate_hz_); in PrepareDemux() 396 RecordAudioToFile(_audioFrame.sample_rate_hz_); in PrepareDemux() 405 _audioFrame.sample_rate_hz_, in PrepareDemux() 429 channelPtr->PrepareEncodeAndSend(_audioFrame.sample_rate_hz_); in DemuxAndMix() 444 channel_ptr->PrepareEncodeAndSend(_audioFrame.sample_rate_hz_); in DemuxAndMix() 1147 _audioFrame.sample_rate_hz_ = AudioProcessing::kNativeSampleRatesHz[i]; in GenerateAudioFrame() 1148 if (_audioFrame.sample_rate_hz_ >= min_processing_rate) { in GenerateAudioFrame() 1154 _audioFrame.sample_rate_hz_ = std::min( in GenerateAudioFrame() 1155 _audioFrame.sample_rate_hz_, AudioProcessing::kMaxAECMSampleRateHz); in GenerateAudioFrame() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | voice_detection_impl.cc | 43 sample_rate_hz_ = sample_rate_hz; in Initialize() 51 static_cast<size_t>(frame_size_ms_ * sample_rate_hz_) / 1000; in Initialize() 67 int vad_ret = WebRtcVad_Process(vad_->state(), sample_rate_hz_, in ProcessCaptureAudio() 85 Initialize(sample_rate_hz_); in Enable() 146 Initialize(sample_rate_hz_); in set_frame_size_ms()
|
D | audio_processing_impl.cc | 676 if (frame->sample_rate_hz_ != kSampleRate8kHz && in ProcessStream() 677 frame->sample_rate_hz_ != kSampleRate16kHz && in ProcessStream() 678 frame->sample_rate_hz_ != kSampleRate32kHz && in ProcessStream() 679 frame->sample_rate_hz_ != kSampleRate48kHz) { in ProcessStream() 684 frame->sample_rate_hz_ > kMaxAECMSampleRateHz) { in ProcessStream() 699 processing_config.input_stream().set_sample_rate_hz(frame->sample_rate_hz_); in ProcessStream() 701 processing_config.output_stream().set_sample_rate_hz(frame->sample_rate_hz_); in ProcessStream() 931 if (frame->sample_rate_hz_ != kSampleRate8kHz && in AnalyzeReverseStream() 932 frame->sample_rate_hz_ != kSampleRate16kHz && in AnalyzeReverseStream() 933 frame->sample_rate_hz_ != kSampleRate32kHz && in AnalyzeReverseStream() [all …]
|
D | noise_suppression_impl.cc | 58 sample_rate_hz_ = sample_rate_hz; in Initialize() 115 Initialize(channels_, sample_rate_hz_); in Enable()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_recorder_impl.cc | 149 tempAudioFrame.sample_rate_hz_ = incomingAudioFrame.sample_rate_hz_; in RecordAudioToFile() 167 tempAudioFrame.sample_rate_hz_ = incomingAudioFrame.sample_rate_hz_; in RecordAudioToFile() 207 _audioResampler.ResetIfNeeded(ptrAudioFrame->sample_rate_hz_, in RecordAudioToFile()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng_unittest.cc | 40 sample_rate_hz_(8000) { in AudioEncoderCngTest() 62 num_audio_samples_10ms_ = static_cast<size_t>(10 * sample_rate_hz_ / 1000); in CreateCng() 65 .WillRepeatedly(Return(sample_rate_hz_)); in CreateCng() 149 VoiceActivity(_, expected_first_block_size_ms * sample_rate_hz_ / 1000, in CheckVadInputSize() 150 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize() 154 _, expected_second_block_size_ms * sample_rate_hz_ / 1000, in CheckVadInputSize() 155 sample_rate_hz_)).WillOnce(Return(Vad::kPassive)); in CheckVadInputSize() 196 int sample_rate_hz_; member in webrtc::AudioEncoderCngTest
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_enhancer.cc | 78 sample_rate_hz_(config.sample_rate_hz), in IntelligibilityEnhancer() 133 RTC_CHECK_EQ(sample_rate_hz_, sample_rate_hz); in ProcessRenderAudio() 151 RTC_CHECK_EQ(sample_rate_hz_, sample_rate_hz); in AnalyzeCaptureAudio() 273 center_freqs_[i] *= 0.5f * sample_rate_hz_ / last_center_freq; in CreateErbBank() 285 (0.5f * sample_rate_hz_))); in CreateErbBank() 287 center_freqs_[max(kOne, i) - 1] * freqs_ / (0.5f * sample_rate_hz_))); in CreateErbBank() 293 (0.5f * sample_rate_hz_))); in CreateErbBank() 296 (0.5f * sample_rate_hz_))); in CreateErbBank()
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer.cc | 204 sample_rate_hz_ = sample_rate_hz; in Initialize() 221 float freq_hz = (static_cast<float>(i) / kFftSize) * sample_rate_hz_; in Initialize() 241 low_mean_start_bin_ = Round(kLowMeanStartHz * kFftSize / sample_rate_hz_); in InitLowFrequencyCorrectionRanges() 242 low_mean_end_bin_ = Round(kLowMeanEndHz * kFftSize / sample_rate_hz_); in InitLowFrequencyCorrectionRanges() 253 sample_rate_hz_ / 2.f); in InitHighFrequencyCorrectionRanges() 255 sample_rate_hz_ / 2.f); in InitHighFrequencyCorrectionRanges() 256 high_mean_start_bin_ = Round(kHighMeanStartHz * kFftSize / sample_rate_hz_); in InitHighFrequencyCorrectionRanges() 257 high_mean_end_bin_ = Round(kHighMeanEndHz * kFftSize / sample_rate_hz_); in InitHighFrequencyCorrectionRanges() 303 f_ix, kFftSize, sample_rate_hz_, kSpeedOfSoundMeterSeconds, in InitDelaySumMasks() 346 sample_rate_hz_, in InitInterfCovMats()
|
/external/webrtc/webrtc/modules/audio_processing/include/ |
D | audio_processing.h | 513 : sample_rate_hz_(sample_rate_hz), in sample_rate_hz_() function 519 sample_rate_hz_ = value; in set_sample_rate_hz() 525 int sample_rate_hz() const { return sample_rate_hz_; } in sample_rate_hz() 536 return sample_rate_hz_ == other.sample_rate_hz_ && 549 int sample_rate_hz_; variable
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module_impl.cc | 290 if (audio_frame.sample_rate_hz_ > 48000) { in Add10MsDataInternal() 298 if (static_cast<size_t>(audio_frame.sample_rate_hz_ / 100) != in Add10MsDataInternal() 366 const bool resample = in_frame.sample_rate_hz_ != enc->SampleRateHz(); in PreprocessToAddData() 383 static_cast<double>(in_frame.sample_rate_hz_)); in PreprocessToAddData() 415 preprocess_frame_.sample_rate_hz_ = in_frame.sample_rate_hz_; in PreprocessToAddData() 422 src_ptr_audio, in_frame.sample_rate_hz_, enc->SampleRateHz(), in PreprocessToAddData() 433 preprocess_frame_.sample_rate_hz_ = enc->SampleRateHz(); in PreprocessToAddData()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/red/ |
D | audio_encoder_copy_red_unittest.cc | 37 sample_rate_hz_(16000), in AudioEncoderCopyRedTest() 38 num_audio_samples_10ms(sample_rate_hz_ / 100), in AudioEncoderCopyRedTest() 47 .WillRepeatedly(Return(sample_rate_hz_)); in AudioEncoderCopyRedTest() 74 const int sample_rate_hz_; member in webrtc::AudioEncoderCopyRedTest
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | external_media_test.cc | 85 EXPECT_GT(frame.sample_rate_hz_, 0); in TEST_F() 103 EXPECT_EQ(f, frame.sample_rate_hz_); in TEST_F()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.cc | 39 : sample_rate_hz_(sample_rate_hz), in AudioEncoderPcm() 60 return sample_rate_hz_; in SampleRateHz()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | PacketLossTest.cc | 117 sample_rate_hz_(32000), in PacketLossTest() 144 sender_->Setup(acm.get(), &rtpFile, in_file_name_, sample_rate_hz_, channels_, in Perform()
|
/external/webrtc/webrtc/tools/agc/ |
D | activity_metric.cc | 101 frame.sample_rate_hz_ != kSampleRateHz) in AddAudio() 228 frame.sample_rate_hz_ = 16000; in void_main() 229 frame.samples_per_channel_ = frame.sample_rate_hz_ / 100; in void_main()
|
/external/webrtc/webrtc/modules/audio_processing/agc/ |
D | agc_unittest.cc | 59 frame.sample_rate_hz_ = 16000; in RunAgc() 61 frame.samples_per_channel_ = frame.sample_rate_hz_ / 100; in RunAgc()
|
/external/webrtc/webrtc/modules/include/ |
D | module_common_types.h | 534 int sample_rate_hz_; variable 562 sample_rate_hz_ = 0; in Reset() 582 sample_rate_hz_ = sample_rate_hz; in UpdateFrame() 605 sample_rate_hz_ = src.sample_rate_hz_; in CopyFrom()
|