Searched refs:kMaxSampleRate (Results 1 – 13 of 13) sorted by relevance
28 constexpr int kMaxSampleRate = 48000; variable30 kAudioFrameLengthMilliseconds * kMaxSampleRate / 1000;43 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()44 RTC_LOG(LS_ERROR) << "Beyond maximum sample rate (" << kMaxSampleRate in main()
29 constexpr int kMaxSampleRate = 48000; variable31 kAudioFrameLengthMilliseconds * kMaxSampleRate / 1000;45 if (wav_reader.sample_rate() > kMaxSampleRate) { in main()46 RTC_LOG(LS_ERROR) << "Beyond maximum sample rate (" << kMaxSampleRate in main()
31 constexpr int kMaxSampleRate = 48000; variable33 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()
52 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()
52 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()
26 constexpr size_t kMaxSampleRate = 48000; variable138 int16_t scaled_random_vector[kMaxSampleRate / 8000 * 125]; in GenerateBackgroundNoise()139 assert(num_noise_samples <= (kMaxSampleRate / 8000 * 125)); in GenerateBackgroundNoise()
55 static const int kMaxSampleRate = 48000;
101 static const size_t kMaxSampleRate = 48000; variable
31 constexpr int kMaxSampleRate = 655350; variable117 uint32_t sampleRate = generateNumberInRangeFromData(tempValue, kMinSampleRate, kMaxSampleRate); in initEncoder()
56 static constexpr char kMaxSampleRate[] = "maxSampleRate"; variable210 if (!json::ParseAndValidateInt(root[kMaxSampleRate], in ParseAndValidate()231 root[kMaxSampleRate] = max_sample_rate; in ToJson()
35 static const size_t kMaxSampleRate = 384000; variable
28 constexpr size_t kMaxSamplesPerChannel = AudioBuffer::kMaxSampleRate / 100;
538 std::array<int16_t, AudioBuffer::kMaxSampleRate / 100> audio_data; in Process()