Home
last modified time | relevance | path

Searched refs:frequency_hz (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/modules/audio_processing/
Drms_level_unittest.cc46 std::vector<int16_t> CreateInt16Sinusoid(int frequency_hz, in CreateInt16Sinusoid() argument
52 amplitude * std::sin(2 * M_PI * n * frequency_hz / kSampleRateHz)); in CreateInt16Sinusoid()
57 std::vector<float> CreateFloatSinusoid(int frequency_hz, in CreateFloatSinusoid() argument
61 CreateInt16Sinusoid(frequency_hz, amplitude, num_samples); in CreateFloatSinusoid()
/external/webrtc/modules/audio_coding/test/
DPCMFile.cc57 uint16_t* frequency_hz) { in ChooseFile() argument
93 *frequency_hz); in ChooseFile()
97 *frequency_hz = tmp_frequency; in ChooseFile()
Dopus_test.cc60 uint16_t frequency_hz; in Perform()
69 frequency_hz = 32000; in Perform()
70 in_file_stereo_.Open(file_name_stereo, frequency_hz, "rb"); in Perform()
72 in_file_mono_.Open(file_name_mono, frequency_hz, "rb"); in Perform()
DTestStereo.cc118 uint16_t frequency_hz; in Perform() local
127 frequency_hz = 32000; in Perform()
130 in_file_stereo_->Open(file_name_stereo, frequency_hz, "rb"); in Perform()
132 in_file_mono_->Open(file_name_mono, frequency_hz, "rb"); in Perform()
DPCMFile.h51 uint16_t* frequency_hz);
/external/autotest/server/site_tests/power_DeferForFlashrom/
Dpower_DeferForFlashrom.py88 frequency_hz = int(BLOCK_SIZE * 8 / float(duration_sec))
103 (rand_file, zero_file, frequency_hz, BLOCK_SIZE))
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.cc216 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz) { in WebRtcOpus_SetMaxPlaybackRate() argument
222 if (frequency_hz <= 8000) { in WebRtcOpus_SetMaxPlaybackRate()
224 } else if (frequency_hz <= 12000) { in WebRtcOpus_SetMaxPlaybackRate()
226 } else if (frequency_hz <= 16000) { in WebRtcOpus_SetMaxPlaybackRate()
228 } else if (frequency_hz <= 24000) { in WebRtcOpus_SetMaxPlaybackRate()
Dopus_interface.h160 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz);
Daudio_encoder_opus.h81 void SetMaxPlaybackRate(int frequency_hz) override;
Daudio_encoder_opus.cc454 void AudioEncoderOpusImpl::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
456 conf.max_playback_rate_hz = frequency_hz; in SetMaxPlaybackRate()
/external/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc52 void SetMaxPlaybackRate(int frequency_hz) override;
210 void AudioEncoderCng::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
211 speech_encoder_->SetMaxPlaybackRate(frequency_hz); in SetMaxPlaybackRate()
/external/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc176 void AudioEncoderCopyRed::SetMaxPlaybackRate(int frequency_hz) { in SetMaxPlaybackRate() argument
177 speech_encoder_->SetMaxPlaybackRate(frequency_hz); in SetMaxPlaybackRate()
Daudio_encoder_copy_red.h57 void SetMaxPlaybackRate(int frequency_hz) override;
/external/webrtc/test/
Dmock_audio_encoder.h41 MOCK_METHOD(void, SetMaxPlaybackRate, (int frequency_hz), (override));
/external/webrtc/api/audio_codecs/
Daudio_encoder.cc65 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} in SetMaxPlaybackRate() argument
Daudio_encoder.h183 virtual void SetMaxPlaybackRate(int frequency_hz);
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc757 const double frequency_hz = *estimated_frequency; in CreateIncomingDelayGraph() local
759 frequency_hz != 90000) { in CreateIncomingDelayGraph()
762 << frequency_hz / 1000 << ". Discarding."; in CreateIncomingDelayGraph()
769 auto ToNetworkDelay = [frequency_hz]( in CreateIncomingDelayGraph()
772 return NetworkDelayDiff_CaptureTime(old_packet, new_packet, frequency_hz); in CreateIncomingDelayGraph()