/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/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/ |
D | mkvmuxer.hpp | 513 void set_sample_rate(double sample_rate) { sample_rate_ = sample_rate; } in set_sample_rate() 514 double sample_rate() const { return sample_rate_; } in sample_rate() 520 double sample_rate_; member in mkvmuxer::AudioTrack
|
D | mkvmuxer.cpp | 988 : Track(seed), bit_depth_(0), channels_(1), sample_rate_(0.0) {} in AudioTrack() 996 EbmlElementSize(kMkvSamplingFrequency, static_cast<float>(sample_rate_)); in PayloadSize() 1011 EbmlElementSize(kMkvSamplingFrequency, static_cast<float>(sample_rate_)); in Write() 1024 static_cast<float>(sample_rate_))) in Write()
|