Home
last modified time | relevance | path

Searched refs:frames_written (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/media/audio/alsa/
Dalsa_output.cc420 snd_pcm_sframes_t frames_written = in WritePacket() local
422 if (frames_written < 0) { in WritePacket()
427 frames_written = wrapper_->PcmRecover(playback_handle_, in WritePacket()
428 frames_written, in WritePacket()
430 if (frames_written < 0) { in WritePacket()
431 if (frames_written != -EAGAIN) { in WritePacket()
433 << wrapper_->StrError(frames_written); in WritePacket()
434 RunErrorCallback(frames_written); in WritePacket()
439 DCHECK_EQ(frames_written, frames); in WritePacket()
442 buffer_->Seek(frames_written * bytes_per_output_frame_); in WritePacket()
/external/chromium_org/media/filters/
Daudio_renderer_algorithm_unittest.cc138 void CheckFakeData(AudioBus* audio_data, int frames_written) { in CheckFakeData() argument
142 for (int i = 0; i < frames_written && all_zero; ++i) in CheckFakeData()
176 int frames_written = in TestPlaybackRate() local
178 EXPECT_EQ(0, frames_written); in TestPlaybackRate()
186 int frames_written = algorithm_.FillBuffer(bus.get(), frames_requested); in TestPlaybackRate() local
187 ASSERT_GT(frames_written, 0) << "Requested: " << frames_requested in TestPlaybackRate()
195 if (!first_fill_buffer || frames_written > 1) in TestPlaybackRate()
196 CheckFakeData(bus.get(), frames_written); in TestPlaybackRate()
198 frames_remaining -= frames_written; in TestPlaybackRate()
Daudio_renderer_impl.cc532 int frames_written = 0; in Render() local
564 frames_written = algorithm_->FillBuffer(audio_bus, requested_frames); in Render()
565 if (frames_written == 0) { in Render()
625 if (frames_written > 0) { in Render()
627 frames_written, playback_delay, now_cb_.Run()); in Render()
637 DCHECK_LE(frames_written, requested_frames); in Render()
638 return frames_written; in Render()
/external/chromium_org/media/base/
Dfake_audio_renderer_sink.cc56 int* frames_written) { in Render() argument
60 *frames_written = callback_->Render(dest, audio_delay_milliseconds); in Render()
Dfake_audio_renderer_sink.h42 int* frames_written);
/external/flac/include/FLAC/
Dstream_encoder.h677 …, FLAC__uint64 bytes_written, FLAC__uint64 samples_written, unsigned frames_written, unsigned tota…
/external/flac/libFLAC/
Dstream_encoder.c401 unsigned frames_written; member
1219 encoder->private_->frames_written = 0; in init_FILE_internal_()
2516 …encoder->private_->frames_written = max(encoder->private_->frames_written, encoder->private_->curr… in write_frame_()
4332 …ytes, encoder->private_->samples_written+samples, encoder->private_->frames_written+(samples?1:0),… in file_write_callback_()