Searched refs:frames_read (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/media/base/ |
D | audio_pull_fifo.cc | 27 int frames_read = ReadFromFifo(destination, remaining_frames_to_provide, 0); in Consume() local 28 int write_pos = frames_read; in Consume() 29 remaining_frames_to_provide -= frames_read; in Consume() 40 frames_read = in Consume() 42 write_pos += frames_read; in Consume() 43 remaining_frames_to_provide -= frames_read; in Consume()
|
D | audio_splicer.cc | 390 int frames_read = 0; in ExtractCrossfadeFromPreSplice() local 393 frames_read < frames_to_crossfade) { in ExtractCrossfadeFromPreSplice() 423 output_bus->frames() - frames_read); in ExtractCrossfadeFromPreSplice() 425 frames_to_read, frames_before_splice, frames_read, output_bus.get()); in ExtractCrossfadeFromPreSplice() 426 frames_read += frames_to_read; in ExtractCrossfadeFromPreSplice() 445 DCHECK_EQ(output_bus->frames(), frames_read); in ExtractCrossfadeFromPreSplice() 464 int frames_read = 0, frames_to_trim = 0; in CrossfadePostSplice() local 467 frames_read < output_bus->frames()) { in CrossfadePostSplice() 471 std::min(postroll->frame_count(), output_bus->frames() - frames_read); in CrossfadePostSplice() 472 postroll->ReadFrames(frames_to_read, 0, frames_read, output_bus.get()); in CrossfadePostSplice() [all …]
|
/external/chromium_org/media/filters/ |
D | audio_file_reader.cc | 174 int frames_read = av_frame->nb_samples; in Read() local 175 if (frames_read < 0) { in Read() 203 if (current_frame + frames_read > audio_bus->frames()) { in Read() 205 frames_read = audio_bus->frames() - current_frame; in Read() 216 for (int i = 0, offset = ch; i < frames_read; in Read() 224 av_frame->extended_data[ch], sizeof(float) * frames_read); in Read() 228 av_frame->data[0], current_frame, frames_read, bytes_per_sample); in Read() 231 current_frame += frames_read; in Read()
|
D | audio_renderer_algorithm.cc | 185 const int frames_read = audio_buffer_.ReadFrames(frames_to_copy, 0, dest); in FillBuffer() local 186 DCHECK_EQ(frames_read, frames_to_copy); in FillBuffer() 187 return frames_read; in FillBuffer()
|
D | audio_renderer_impl_unittest.cc | 291 int frames_read = 0; in ConsumeBufferedData() local 292 EXPECT_TRUE(sink_->Render(bus.get(), 0, &frames_read)); in ConsumeBufferedData() 293 return frames_read == requested_frames.value; in ConsumeBufferedData()
|
/external/chromium_org/media/audio/alsa/ |
D | alsa_input.cc | 210 int frames_read = wrapper_->PcmReadi(device_handle_, audio_buffer_.get(), in ReadAudio() local 212 if (frames_read == params_.frames_per_buffer()) { in ReadAudio() 220 << frames_read << " vs. " << params_.frames_per_buffer() in ReadAudio()
|
/external/srec/audio/AudioIn/UNIX/src/ |
D | audioin.c | 430 int frames_read; /* Frames read on one read */ in AcquisitionThread() local 438 frames_read = AudioRead ( CodecBuffer + iReadFrames, frames_to_read ); in AcquisitionThread() 440 if ( frames_read > 0 ) in AcquisitionThread() 441 iReadFrames += frames_read; in AcquisitionThread() 443 while ( ( iReadFrames < gCodecFragmentSizeInFrames ) && ( frames_read > 0 ) ); in AcquisitionThread()
|
/external/chromium_org/media/audio/ |
D | audio_output_controller_unittest.cc | 194 const int frames_read = in ReadDivertedAudioData() local 196 EXPECT_LT(0, frames_read); in ReadDivertedAudioData()
|
/external/chromium_org/media/cast/test/ |
D | fake_media_source.cc | 439 int frames_read = avframe->nb_samples; in DecodeAudio() local 440 if (frames_read < 0) in DecodeAudio() 464 frames_read, in DecodeAudio()
|