/external/webrtc/webrtc/modules/audio_device/include/ |
D | audio_device_defines.h | 148 : sample_rate_(0), in AudioParameters() 153 : sample_rate_(sample_rate), in AudioParameters() 158 sample_rate_ = sample_rate; in reset() 171 int sample_rate() const { return sample_rate_; } in sample_rate() 182 bool is_valid() const { return ((sample_rate_ > 0) && (channels_ > 0)); } in is_valid() 191 if (sample_rate_ == 0) in GetBufferSizeInMilliseconds() 193 return frames_per_buffer_ / (sample_rate_ / 1000.0); in GetBufferSizeInMilliseconds() 196 if (sample_rate_ == 0) in GetBufferSizeInSeconds() 198 return static_cast<double>(frames_per_buffer_) / (sample_rate_); in GetBufferSizeInSeconds() 202 int sample_rate_;
|
/external/webrtc/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/webrtc/common_audio/ |
D | wav_file.h | 53 int sample_rate() const override { return sample_rate_; } in sample_rate() 59 const int sample_rate_; variable 81 int sample_rate() const override { return sample_rate_; } in sample_rate() 87 int sample_rate_; variable
|
D | wav_file.cc | 56 RTC_CHECK(ReadWavHeader(&readable, &num_channels_, &sample_rate_, &format, in WavReader() 103 : sample_rate_(sample_rate), in WavWriter() 108 RTC_CHECK(CheckWavParameters(num_channels_, sample_rate_, kWavFormat, in WavWriter() 145 WriteWavHeader(header, num_channels_, sample_rate_, kWavFormat, in Close()
|
/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/webrtc/webrtc/modules/audio_device/ |
D | fine_audio_buffer.cc | 28 sample_rate_(sample_rate), in FineAudioBuffer() 29 samples_per_10_ms_(static_cast<size_t>(sample_rate_ * 10 / 1000)), in FineAudioBuffer()
|
D | fine_audio_buffer.h | 83 const int sample_rate_; variable
|
/external/webrtc/webrtc/modules/audio_device/ios/ |
D | audio_device_unittest_ios.cc | 110 : file_size_in_bytes_(0), sample_rate_(sample_rate), file_pos_(0) { in FileAudioStream() 112 sample_rate_ = sample_rate; in FileAudioStream() 139 file_size_in_bytes_ / (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 147 int sample_rate_; member in webrtc::FileAudioStream
|
/external/webrtc/webrtc/modules/audio_device/android/ |
D | audio_device_unittest.cc | 107 sample_rate_(sample_rate), in FileAudioStream() 110 sample_rate_ = sample_rate; in FileAudioStream() 138 file_size_in_bytes_ / (kBytesPerSample * sample_rate_)); in file_size_in_seconds() 146 int sample_rate_; member in webrtc::FileAudioStream
|
/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
|
D | mkvmuxer.cc | 1669 : Track(seed), bit_depth_(0), channels_(1), sample_rate_(0.0) {} in AudioTrack() 1677 static_cast<float>(sample_rate_)); in PayloadSize() 1694 static_cast<float>(sample_rate_)); in Write() 1709 static_cast<float>(sample_rate_))) in Write()
|
/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
|
D | mkvmuxer.cc | 1669 : Track(seed), bit_depth_(0), channels_(1), sample_rate_(0.0) {} in AudioTrack() 1677 static_cast<float>(sample_rate_)); in PayloadSize() 1694 static_cast<float>(sample_rate_)); in Write() 1709 static_cast<float>(sample_rate_))) in Write()
|