Searched refs:frames_read (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/media/base/
H A Daudio_pull_fifo.cc27 int frames_read = ReadFromFifo(destination, remaining_frames_to_provide, 0); local
28 int write_pos = frames_read;
29 remaining_frames_to_provide -= frames_read;
40 frames_read =
42 write_pos += frames_read;
43 remaining_frames_to_provide -= frames_read;
H A Daudio_splicer.cc390 int frames_read = 0; local
393 frames_read < frames_to_crossfade) {
423 output_bus->frames() - frames_read);
425 frames_to_read, frames_before_splice, frames_read, output_bus.get());
426 frames_read += frames_to_read;
445 DCHECK_EQ(output_bus->frames(), frames_read);
464 int frames_read = 0, frames_to_trim = 0; local
467 frames_read < output_bus->frames()) {
471 std::min(postroll->frame_count(), output_bus->frames() - frames_read);
472 postroll->ReadFrames(frames_to_read, 0, frames_read, output_bu
[all...]
/external/chromium_org/media/filters/
H A Daudio_file_reader.cc174 int frames_read = av_frame->nb_samples; local
175 if (frames_read < 0) {
203 if (current_frame + frames_read > audio_bus->frames()) {
205 frames_read = audio_bus->frames() - current_frame;
216 for (int i = 0, offset = ch; i < frames_read;
224 av_frame->extended_data[ch], sizeof(float) * frames_read);
228 av_frame->data[0], current_frame, frames_read, bytes_per_sample);
231 current_frame += frames_read;
H A Daudio_renderer_algorithm.cc185 const int frames_read = audio_buffer_.ReadFrames(frames_to_copy, 0, dest); local
186 DCHECK_EQ(frames_read, frames_to_copy);
187 return frames_read;
H A Daudio_renderer_impl_unittest.cc291 int frames_read = 0; local
292 EXPECT_TRUE(sink_->Render(bus.get(), 0, &frames_read));
293 return frames_read == requested_frames.value;
/external/chromium_org/media/audio/alsa/
H A Dalsa_input.cc210 int frames_read = wrapper_->PcmReadi(device_handle_, audio_buffer_.get(), local
212 if (frames_read == params_.frames_per_buffer()) {
220 << frames_read << " vs. " << params_.frames_per_buffer()
/external/srec/audio/AudioIn/UNIX/src/
H A Daudioin.c430 int frames_read; /* Frames read on one read */ local
438 frames_read = AudioRead ( CodecBuffer + iReadFrames, frames_to_read );
440 if ( frames_read > 0 )
441 iReadFrames += frames_read;
443 while ( ( iReadFrames < gCodecFragmentSizeInFrames ) && ( frames_read > 0 ) );
/external/chromium_org/media/audio/
H A Daudio_output_controller_unittest.cc194 const int frames_read = local
196 EXPECT_LT(0, frames_read);
/external/chromium_org/media/cast/test/
H A Dfake_media_source.cc439 int frames_read = avframe->nb_samples; local
440 if (frames_read < 0)
464 frames_read,

Completed in 256 milliseconds