/external/webrtc/modules/audio_device/include/ |
D | audio_device_defines.h | 82 : sample_rate_(0), in AudioParameters() 87 : sample_rate_(sample_rate), in AudioParameters() 92 sample_rate_ = sample_rate; in reset() 105 int sample_rate() const { return sample_rate_; } in sample_rate() 116 bool is_valid() const { return ((sample_rate_ > 0) && (channels_ > 0)); } in is_valid() 125 if (sample_rate_ == 0) in GetBufferSizeInMilliseconds() 127 return frames_per_buffer_ / (sample_rate_ / 1000.0); in GetBufferSizeInMilliseconds() 130 if (sample_rate_ == 0) in GetBufferSizeInSeconds() 132 return static_cast<double>(frames_per_buffer_) / (sample_rate_); in GetBufferSizeInSeconds() 149 int sample_rate_;
|
/external/webrtc/common_audio/resampler/ |
D | sinusoidal_linear_chirp_source.cc | 24 : sample_rate_(sample_rate), in SinusoidalLinearChirpSource() 30 double duration = static_cast<double>(total_samples_) / sample_rate_; in SinusoidalLinearChirpSource() 37 if (Frequency(current_index_) > 0.5 * sample_rate_) { in Run() 45 double t = (current_index_ - delay_samples_) / sample_rate_; in Run()
|
D | sinusoidal_linear_chirp_source.h | 43 int sample_rate_; variable
|
/external/webrtc/common_audio/ |
D | wav_file.h | 63 int sample_rate() const override { return sample_rate_; } in sample_rate() 69 const int sample_rate_; variable 97 int sample_rate() const override { return sample_rate_; } in sample_rate() 103 int sample_rate_; variable
|
D | wav_file.cc | 77 RTC_CHECK(ReadWavHeader(&readable, &num_channels_, &sample_rate_, &format_, in WavReader() 196 : sample_rate_(sample_rate), in WavWriter() 206 RTC_CHECK(CheckWavParameters(num_channels_, sample_rate_, format_, in WavWriter() 284 WriteWavHeader(num_channels_, sample_rate_, format_, num_samples_written_, in Close()
|
/external/webrtc/modules/audio_processing/test/conversational_speech/ |
D | mock_wavreader.cc | 22 : sample_rate_(sample_rate), in MockWavReader() 25 ON_CALL(*this, SampleRate()).WillByDefault(Return(sample_rate_)); in MockWavReader()
|
D | mock_wavreader.h | 39 const int sample_rate_;
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | mfcc_mel_filterbank.cc | 45 sample_rate_ = input_sample_rate; in Initialize() 53 if (sample_rate_ <= 0) { in Initialize() 87 0.5 * sample_rate_ / static_cast<double>(input_length_ - 1); in Initialize()
|
D | mfcc_mel_filterbank.h | 43 double sample_rate_; variable
|
/external/tensorflow/tensorflow/lite/experimental/microfrontend/ops/ |
D | audio_microfrontend_op.cc | 156 OP_REQUIRES_OK(ctx, ctx->GetAttr("sample_rate", &sample_rate_)); in AudioMicrofrontendOp() 218 int window_size = config_.window.size_ms * sample_rate_ / 1000; in Compute() 219 int window_step = config_.window.step_size_ms * sample_rate_ / 1000; in Compute() 235 FrontendPopulateState(&config_, &state, sample_rate_))) { in Compute() 288 int sample_rate_; member in tensorflow::AudioMicrofrontendOp
|
/external/tensorflow/tensorflow/core/kernels/ |
D | mfcc_mel_filterbank.cc | 46 sample_rate_ = input_sample_rate; in Initialize() 54 if (sample_rate_ <= 0) { in Initialize() 88 0.5 * sample_rate_ / static_cast<double>(input_length_ - 1); in Initialize()
|
D | mfcc_mel_filterbank.h | 43 double sample_rate_; variable
|
/external/openscreen/cast/standalone_sender/ |
D | simulated_capturer.cc | 233 sample_rate_(sample_rate), in SimulatedAudioCapturer() 237 OSP_DCHECK_GT(sample_rate_, 0); in SimulatedAudioCapturer() 274 fake_output_frame->sample_rate = sample_rate_; in EnsureResamplerIsInitializedFor() 308 sample_rate_, input_sample_rate_, AV_ROUND_ZERO); in ProcessDecodedFrame()
|
D | simulated_capturer.h | 155 const int sample_rate_; // Output sample rate. variable
|
/external/webrtc/modules/audio_coding/neteq/ |
D | decision_logic.h | 75 rtc::CheckedDivExact(sample_rate_, 1000); in TargetLevelMs() 177 int sample_rate_; variable
|
D | decision_logic.cc | 89 sample_rate_ = fs_hz; in SetSampleRate() 171 const uint32_t five_seconds_samples = static_cast<uint32_t>(5 * sample_rate_); in GetDecision() 366 target_level_window_ms_ / 2 * (sample_rate_ / 1000); in FuturePacketAvailable()
|
/external/webrtc/modules/audio_device/win/ |
D | core_audio_base_win.cc | 398 HRESULT res = sample_rate_ ? core_audio_utility::GetPreferredAudioParameters( in Init() 399 audio_client.Get(), ¶ms, *sample_rate_) in Init() 441 if (!sample_rate_) { in Init() 474 sample_rate_.has_value(), &endpoint_buffer_size_frames_))) { in Init() 486 requested_buffer_size, sample_rate_.has_value(), in Init()
|
D | core_audio_base_win.h | 142 absl::optional<uint32_t> sample_rate_; variable
|
D | core_audio_output_win.cc | 255 sample_rate_ = sample_rate; in SetSampleRate()
|
D | core_audio_input_win.cc | 254 sample_rate_ = sample_rate; in SetSampleRate()
|
/external/webrtc/modules/audio_device/android/ |
D | audio_device_unittest.cc | 110 : file_size_in_bytes_(0), sample_rate_(sample_rate), file_pos_(0) { in FileAudioStream() 112 sample_rate_ = sample_rate; in FileAudioStream() 139 (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 147 int sample_rate_; member in webrtc::FileAudioStream
|
/external/webrtc/sdk/android/native_unittests/audio_device/ |
D | audio_device_unittest.cc | 107 : file_size_in_bytes_(0), sample_rate_(sample_rate), file_pos_(0) { in FileAudioStream() 109 sample_rate_ = sample_rate; in FileAudioStream() 136 (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 144 int sample_rate_; member in webrtc::jni::FileAudioStream
|
/external/libwebm/mkvmuxer/ |
D | mkvmuxer.h | 856 void set_sample_rate(double sample_rate) { sample_rate_ = sample_rate; } in set_sample_rate() 857 double sample_rate() const { return sample_rate_; } in sample_rate() 863 double sample_rate_; variable
|
/external/libaom/libaom/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.h | 856 void set_sample_rate(double sample_rate) { sample_rate_ = sample_rate; } in set_sample_rate() 857 double sample_rate() const { return sample_rate_; } in sample_rate() 863 double sample_rate_; variable
|
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/ |
D | mkvmuxer.h | 856 void set_sample_rate(double sample_rate) { sample_rate_ = sample_rate; } in set_sample_rate() 857 double sample_rate() const { return sample_rate_; } in sample_rate() 863 double sample_rate_; variable
|