Home
last modified time | relevance | path

Searched refs:sample_rate_ (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h148 : 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/
Dsinusoidal_linear_chirp_source.cc24 : 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()
Dsinusoidal_linear_chirp_source.h43 int sample_rate_; variable
/external/webrtc/webrtc/common_audio/
Dwav_file.h53 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
Dwav_file.cc56 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/
Dfine_audio_buffer.cc28 sample_rate_(sample_rate), in FineAudioBuffer()
29 samples_per_10_ms_(static_cast<size_t>(sample_rate_ * 10 / 1000)), in FineAudioBuffer()
Dfine_audio_buffer.h83 const int sample_rate_; variable
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc110 : 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/
Daudio_device_unittest.cc107 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/
Dmkvmuxer.hpp513 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
Dmkvmuxer.cpp988 : 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()