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

  /external/chromium_org/media/filters/
audio_renderer_algorithm.cc 63 // The maximum size in seconds for the |audio_buffer_|. Arbitrarily determined.
66 // The starting size in frames for |audio_buffer_|. Previous usage maintained a
158 std::min(static_cast<int>(audio_buffer_.frames() / playback_rate_),
168 audio_buffer_.SeekFrames(seek_frames);
186 std::min(audio_buffer_.frames(), requested_frames);
187 const int frames_read = audio_buffer_.ReadFrames(frames_to_copy, 0, dest);
209 audio_buffer_.Clear();
222 return audio_buffer_.current_time();
228 audio_buffer_.Append(buffer_in);
232 return audio_buffer_.frames() >= capacity_
    [all...]
audio_renderer_algorithm.h 47 // data from our |audio_buffer_|. Data is scaled based on the playback rate,
50 // Data from |audio_buffer_| is consumed in proportion to the playback rate.
56 // Clears |audio_buffer_|.
70 // Returns true if |audio_buffer_| is at or exceeds capacity.
73 // Returns the capacity of |audio_buffer_| in frames.
76 // Increase the capacity of |audio_buffer_| if possible.
79 // Returns the number of frames left in |audio_buffer_|, which may be larger
81 // than |audio_buffer_| was intending to hold.
82 int frames_buffered() { return audio_buffer_.frames(); }
102 // Fill |dest| with frames from |audio_buffer_| starting from fram
141 AudioBufferQueue audio_buffer_; member in class:media::AudioRendererAlgorithm
    [all...]
  /external/chromium_org/media/cast/audio_receiver/
audio_receiver.cc 92 audio_buffer_(),
101 audio_buffer_.reset(new Framer(cast_environment->Clock(),
168 DCHECK(!audio_buffer_) << "Invalid internal state";
199 DCHECK(audio_buffer_) << "Invalid internal state";
202 bool complete = audio_buffer_->InsertPacket(payload_data, payload_size,
274 DCHECK(audio_buffer_) << "Invalid function call in this configuration";
283 if (!audio_buffer_->GetEncodedAudioFrame(encoded_frame.get(),
308 DCHECK(audio_buffer_) << "Invalid function call in this configuration";
314 if (!audio_buffer_->GetEncodedAudioFrame(encoded_frame.get(),
340 DCHECK(audio_buffer_) << "Invalid function call in this configuration"
    [all...]
audio_receiver.h 123 scoped_ptr<Framer> audio_buffer_; member in class:media::cast::AudioReceiver
  /external/chromium_org/media/audio/alsa/
alsa_input.cc 89 audio_buffer_.reset(new uint8[bytes_per_buffer_]);
208 int frames_read = wrapper_->PcmReadi(device_handle_, audio_buffer_.get(),
211 callback_->OnData(this, audio_buffer_.get(), bytes_per_buffer_,
260 audio_buffer_.reset();
alsa_input.h 84 scoped_ptr<uint8[]> audio_buffer_; // Buffer used for reading audio data. member in class:media::AlsaPcmInputStream
  /external/chromium_org/media/ffmpeg/
ffmpeg_unittest.cc 94 audio_buffer_.reset(av_frame_alloc());
236 avcodec_get_frame_defaults(audio_buffer_.get());
237 result = avcodec_decode_audio4(av_audio_context(), audio_buffer_.get(),
249 double microseconds = 1.0L * audio_buffer_->nb_samples /
385 scoped_ptr_malloc<AVFrame, media::ScopedPtrAVFreeFrame> audio_buffer_; member in class:media::FFmpegTest

Completed in 65 milliseconds