Home
last modified time | relevance | path

Searched refs:kMaxSampleRate (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dapm_vad.cc28 constexpr int kMaxSampleRate = 48000; variable
30 kAudioFrameLengthMilliseconds * kMaxSampleRate / 1000;
43 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
44 RTC_LOG(LS_ERROR) << "Beyond maximum sample rate (" << kMaxSampleRate in main()
Dvad.cc29 constexpr int kMaxSampleRate = 48000; variable
31 kAudioFrameLengthMilliseconds * kMaxSampleRate / 1000;
45 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
46 RTC_LOG(LS_ERROR) << "Beyond maximum sample rate (" << kMaxSampleRate in main()
Dsound_level.cc31 constexpr int kMaxSampleRate = 48000; variable
33 constexpr size_t kMaxFrameLen = kMaxFrameLenMs * kMaxSampleRate / 1000;
59 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()
60 RTC_LOG(LS_ERROR) << "Beyond maximum sample rate (" << kMaxSampleRate in main()
/external/webrtc/modules/audio_coding/neteq/
Dmerge.cc52 assert(fs_hz_ <= kMaxSampleRate); // Should not be possible. in Process()
169 if (*old_length >= 210 * kMaxSampleRate / 8000) { in GetExpandedSignal()
176 size_t length_diff = *old_length - 210 * kMaxSampleRate / 8000; in GetExpandedSignal()
178 *old_length = 210 * kMaxSampleRate / 8000; in GetExpandedSignal()
182 assert(210 * kMaxSampleRate / 8000 >= *old_length); in GetExpandedSignal()
Dexpand.cc52 assert(fs <= static_cast<int>(kMaxSampleRate)); // Should not be possible. in Expand()
71 int16_t random_vector[kMaxSampleRate / 8000 * 120 + 30]; in Process()
72 int16_t scaled_random_vector[kMaxSampleRate / 8000 * 125]; in Process()
78 int16_t unvoiced_array_memory[kNoiseLpcOrder + kMaxSampleRate / 8000 * 125]; in Process()
94 assert(rand_length <= kMaxSampleRate / 8000 * 120 + 30); in Process()
373 int16_t correlation_vector[kMaxSampleRate / 8000 * 102]; in AnalyzeSignal()
378 int32_t correlation_vector2[(99 * kMaxSampleRate / 8000) + 1]; in AnalyzeSignal()
381 int16_t unvoiced_array_memory[kNoiseLpcOrder + kMaxSampleRate / 8000 * 125]; in AnalyzeSignal()
662 assert(noise_length <= kMaxSampleRate / 8000 * 120 + 30); in AnalyzeSignal()
Dbackground_noise.cc26 constexpr size_t kMaxSampleRate = 48000; variable
138 int16_t scaled_random_vector[kMaxSampleRate / 8000 * 125]; in GenerateBackgroundNoise()
139 assert(num_noise_samples <= (kMaxSampleRate / 8000 * 125)); in GenerateBackgroundNoise()
Dmerge.h55 static const int kMaxSampleRate = 48000;
Dexpand.h101 static const size_t kMaxSampleRate = 48000; variable
/external/flac/fuzzer/
Dflac_enc_fuzzer.cpp31 constexpr int kMaxSampleRate = 655350; variable
117 uint32_t sampleRate = generateNumberInRangeFromData(tempValue, kMinSampleRate, kMaxSampleRate); in initEncoder()
/external/openscreen/cast/streaming/
Danswer_messages.cc56 static constexpr char kMaxSampleRate[] = "maxSampleRate"; variable
210 if (!json::ParseAndValidateInt(root[kMaxSampleRate], in ParseAndValidate()
231 root[kMaxSampleRate] = max_sample_rate; in ToJson()
/external/webrtc/modules/audio_processing/
Daudio_buffer.h35 static const size_t kMaxSampleRate = 384000; variable
Daudio_buffer.cc28 constexpr size_t kMaxSamplesPerChannel = AudioBuffer::kMaxSampleRate / 100;
/external/webrtc/modules/audio_processing/agc/
Dagc_manager_direct.cc538 std::array<int16_t, AudioBuffer::kMaxSampleRate / 100> audio_data; in Process()