HomeSort by relevance Sort by last modified time
    Searched refs:requested_frames (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/media/filters/
audio_renderer_algorithm.h 46 // Tries to fill |requested_frames| frames into |dest| with possibly scaled
54 int FillBuffer(AudioBus* dest, int requested_frames);
97 // Read a maximum of |requested_frames| frames from |wsola_output_|. Returns
100 int requested_frames, int output_offset, AudioBus* dest);
audio_renderer_algorithm.cc 148 int AudioRendererAlgorithm::FillBuffer(AudioBus* dest, int requested_frames) {
159 requested_frames);
186 std::min(audio_buffer_.frames(), requested_frames);
195 requested_frames - rendered_frames, rendered_frames, dest);
196 } while (rendered_frames < requested_frames && RunOneWsolaIteration());
301 int requested_frames, int dest_offset, AudioBus* dest) {
302 int rendered_frames = std::min(num_complete_frames_, requested_frames);
audio_renderer_impl.cc 587 const int requested_frames = audio_bus->frames(); local
600 audio_clock_->WroteSilence(requested_frames, delay_frames);
606 audio_clock_->WroteSilence(requested_frames, delay_frames);
612 audio_clock_->WroteSilence(requested_frames, delay_frames);
634 frames_written = algorithm_->FillBuffer(audio_bus, requested_frames);
638 audio_clock_->WroteSilence(requested_frames - frames_written, delay_frames);
685 DCHECK_LE(frames_written, requested_frames);
audio_renderer_impl_unittest.cc 320 // Attempts to consume |requested_frames| frames from |renderer_|'s internal
321 // buffer, returning true if all |requested_frames| frames were consumed,
322 // false if less than |requested_frames| frames were consumed.
326 bool ConsumeBufferedData(int requested_frames, bool* muted) {
328 AudioBus::Create(kChannels, std::max(requested_frames, 1));
338 return frames_read == requested_frames;

Completed in 1536 milliseconds