Home
last modified time | relevance | path

Searched refs:frames_to_copy (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/media/base/
Daudio_buffer.cc169 void AudioBuffer::ReadFrames(int frames_to_copy, in ReadFrames() argument
180 DCHECK_LE(source_frame_offset + frames_to_copy, adjusted_frame_count_); in ReadFrames()
181 DCHECK_LE(dest_frame_offset + frames_to_copy, dest->frames()); in ReadFrames()
188 dest->ZeroFramesPartial(dest_frame_offset, frames_to_copy); in ReadFrames()
200 sizeof(float) * frames_to_copy); in ReadFrames()
213 for (int i = 0; i < frames_to_copy; ++i) { in ReadFrames()
226 for (int i = 0, offset = ch; i < frames_to_copy; in ReadFrames()
243 source_data, dest_frame_offset, frames_to_copy, bytes_per_channel); in ReadFrames()
278 const int frames_to_copy = adjusted_frame_count_ - end; in TrimRange() local
279 if (frames_to_copy > 0) { in TrimRange()
[all …]
Daudio_buffer.h71 void ReadFrames(int frames_to_copy,
/external/chromium_org/components/copresence/mediums/audio/
Daudio_player.cc148 const int frames_to_copy = std::min(dest->frames(), leftover_frames); in OnMoreData() local
150 samples_->CopyPartialFramesTo(frame_index_, frames_to_copy, 0, dest); in OnMoreData()
151 frame_index_ += frames_to_copy; in OnMoreData()
156 0, dest->frames() - frames_to_copy, frames_to_copy, dest); in OnMoreData()
157 frame_index_ = dest->frames() - frames_to_copy; in OnMoreData()
Daudio_recorder.cc196 int frames_to_copy = in OnData() local
199 0, frames_to_copy, buffer_frame_index_, buffer_.get()); in OnData()
200 buffer_frame_index_ += frames_to_copy; in OnData()
209 int remaining_source_frames = converted_source->frames() - frames_to_copy; in OnData()
210 converted_source->CopyPartialFramesTo(frames_to_copy, in OnData()
/external/chromium_org/media/filters/
Daudio_renderer_algorithm.cc183 const int frames_to_copy = in FillBuffer() local
185 const int frames_read = audio_buffer_.ReadFrames(frames_to_copy, 0, dest); in FillBuffer()
186 DCHECK_EQ(frames_read, frames_to_copy); in FillBuffer()
/external/chromium_org/content/renderer/pepper/
Dpepper_media_stream_audio_track_host.cc254 uint32_t frames_to_copy = bytes_to_copy / bytes_per_frame; in OnData() local
260 frames_remaining -= frames_to_copy; in OnData()
262 frames_to_copy * base::Time::kMillisecondsPerSecond / sample_rate); in OnData()