HomeSort by relevance Sort by last modified time
    Searched refs:audio_bus_ (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/media/base/
audio_pull_fifo_unittest.cc 32 audio_bus_(AudioBus::Create(kChannels, kMaxFramesInFifo)),
51 pull_fifo_.Consume(audio_bus_.get(), frames_to_consume);
53 VerifyValue(audio_bus_->channel(j), frames_to_consume, start_value);
56 EXPECT_LT(last_frame_delay_, audio_bus_->frames());
66 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels());
79 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioPullFifoTest
multi_channel_resampler_unittest.cc 47 audio_bus_ = AudioBus::Create(channels, frames);
57 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels());
72 resampler.Resample(1, audio_bus_.get());
77 EXPECT_LT(last_frame_delay_, audio_bus_->frames());
81 resampler.Resample(frames, audio_bus_.get());
99 for (int i = 0; i < audio_bus_->channels(); ++i) {
102 ASSERT_NE(audio_bus_->channel(i)[j], 0);
104 double error = fabs(audio_bus_->channel(i)[j] - kFillValue);
111 sum_of_squares / (frames_ * audio_bus_->channels()));
120 scoped_ptr<AudioBus> audio_bus_; member in class:media::MultiChannelResamplerTest
    [all...]
audio_converter_unittest.cc 52 audio_bus_ = AudioBus::Create(output_parameters_);
89 // Validates audio data between |audio_bus_| and |expected_audio_bus_| from
92 for (int i = 0; i < audio_bus_->channels(); ++i) {
94 double error = fabs(audio_bus_->channel(i)[j] -
98 audio_bus_->channel(i)[j], epsilon_)
108 // and validates equality with |audio_bus_| after |scale| is applied.
111 converter_->Convert(audio_bus_.get());
121 audio_bus_->frames() * sizeof(*audio_bus_->channel(i)));
124 return ValidateAudioData(0, audio_bus_->frames(), scale)
178 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioConverterTest
    [all...]
audio_fifo.h 47 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioFifo
audio_fifo.cc 44 : audio_bus_(AudioBus::Create(channels, frames)),
61 DCHECK_EQ(source->channels(), audio_bus_->channels());
75 float* dest = audio_bus_->channel(ch);
100 DCHECK_EQ(destination->channels(), audio_bus_->channels());
120 const float* src = audio_bus_->channel(ch);
audio_renderer_mixer_input_unittest.cc 32 audio_bus_ = AudioBus::Create(audio_parameters_);
56 return mixer_input_->ProvideInput(audio_bus_.get(), base::TimeDelta());
68 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioRendererMixerInputTest
audio_renderer_mixer_unittest.cc 61 audio_bus_ = AudioBus::Create(output_parameters_);
100 for (int i = 0; i < audio_bus_->channels(); ++i) {
102 double error = fabs(audio_bus_->channel(i)[j] -
106 audio_bus_->channel(i)[j], epsilon)
130 int frames = mixer_callback_->Render(audio_bus_.get(), 0);
131 if (frames != audio_bus_->frames())
147 // Fill |audio_bus_| fully with |value|.
149 for (int i = 0; i < audio_bus_->channels(); ++i) {
150 std::fill(audio_bus_->channel(i),
151 audio_bus_->channel(i) + audio_bus_->frames(), value)
279 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioRendererMixerTest
    [all...]
  /external/chromium_org/media/audio/pulse/
pulse_output.cc 53 audio_bus_ = AudioBus::Create(params_);
133 audio_bus_.get(), AudioBuffersState(0, hardware_delay));
137 if (frames_filled < audio_bus_->frames()) {
138 audio_bus_->ZeroFramesPartial(
139 frames_filled, audio_bus_->frames() - frames_filled);
144 audio_bus_->Scale(volume_);
145 audio_bus_->ToInterleaved(
146 audio_bus_->frames(), params_.bits_per_sample() / 8, buffer);
pulse_output.h 85 scoped_ptr<AudioBus> audio_bus_; member in class:media::PulseAudioOutputStream
  /external/chromium_org/ppapi/shared_impl/
ppb_audio_shared.cc 125 audio_bus_ = media::AudioBus::WrapMemory(
129 audio_bus_->frames() * audio_bus_->channels() *
140 !shared_memory_->memory() || !audio_bus_.get() || !client_buffer_.get() ||
221 audio_bus_->FromInterleaved(
222 client_buffer_.get(), audio_bus_->frames(),
ppb_audio_shared.h 130 scoped_ptr<media::AudioBus> audio_bus_; member in class:ppapi::PPB_Audio_Shared
  /external/chromium_org/media/audio/
clockless_audio_sink.cc 20 audio_bus_(AudioBus::Create(params)),
41 int frames_received = callback_->Render(audio_bus_.get(), 0);
56 scoped_ptr<AudioBus> audio_bus_; member in class:media::ClocklessAudioSinkThread
fake_audio_consumer.cc 48 const scoped_ptr<AudioBus> audio_bus_; member in class:media::FakeAudioConsumer::Worker
86 audio_bus_(AudioBus::Create(params)),
90 audio_bus_->Zero();
146 read_cb_.Run(audio_bus_.get());
audio_input_device.cc 44 scoped_ptr<AudioBus> audio_bus_; member in class:media::AudioInputDevice::AudioThreadCallback
277 audio_bus_ = AudioBus::Create(audio_parameters_);
310 audio_bus_->FromInterleaved(memory, audio_bus_->frames(), bytes_per_sample);
315 audio_bus_.get(), audio_delay_milliseconds, volume, key_pressed);
  /external/chromium_org/media/audio/mac/
audio_low_latency_output_mac.cc 60 audio_bus_(AudioBus::Create(params)) {
266 if (number_of_frames != static_cast<UInt32>(audio_bus_->frames())) {
284 audio_bus_.get(), AudioBuffersState(0, hardware_pending_bytes));
289 audio_bus_->Scale(volume_);
290 audio_bus_->ToInterleaved(
audio_low_latency_output_mac.h 108 scoped_ptr<AudioBus> audio_bus_; member in class:media::AUAudioOutputStream
  /external/chromium_org/media/audio/android/
opensles_output.h 113 scoped_ptr<AudioBus> audio_bus_; member in class:media::OpenSLESOutputStream
opensles_output.cc 49 audio_bus_ = AudioBus::Create(params);
326 audio_bus_.get(), AudioBuffersState(0, hardware_delay));
335 audio_bus_->Scale(muted_ ? 0.0f : volume_);
336 audio_bus_->ToInterleaved(frames_filled,
341 frames_filled * audio_bus_->channels() * format_.bitsPerSample / 8;
  /external/chromium_org/media/audio/win/
audio_low_latency_output_win.h 245 scoped_ptr<AudioBus> audio_bus_; member in class:media::WASAPIAudioOutputStream
waveout_output_win.h 134 scoped_ptr<AudioBus> audio_bus_; member in class:media::PCMWaveOutAudioOutputStream
waveout_output_win.cc 93 audio_bus_(AudioBus::Create(params)) {
330 audio_bus_.get(), AudioBuffersState(pending_bytes_, 0));
331 uint32 used = frames_filled * audio_bus_->channels() *
337 audio_bus_->Scale(volume_);
338 audio_bus_->ToInterleaved(
audio_low_latency_output_win.cc 86 audio_bus_(AudioBus::Create(params)) {
533 audio_bus_.get(), AudioBuffersState(0, audio_delay_bytes));
541 audio_bus_->Scale(volume_);
542 audio_bus_->ToInterleaved(
audio_output_win_unittest.cc 583 audio_bus_ = AudioBus::WrapMemory(params, data_.get());
592 DCHECK_EQ(static_cast<size_t>(size) % sizeof(*audio_bus_->channel(0)), 0U);
593 audio_bus_->CopyTo(audio_bus);
594 return audio_bus_->frames();
610 scoped_ptr<AudioBus> audio_bus_; member in class:media::SyncSocketSource
  /external/chromium_org/media/audio/alsa/
alsa_output.cc 161 audio_bus_(AudioBus::Create(params)) {
163 DCHECK_EQ(audio_bus_->frames() * bytes_per_frame_, packet_size_);
364 audio_bus_.get(), AudioBuffersState(0, hardware_delay));
371 AudioBus* output_bus = audio_bus_.get();
374 channel_mixer_->Transform(audio_bus_.get(), output_bus);
672 default_channels, audio_bus_->frames());
  /external/chromium_org/content/renderer/media/
webrtc_local_audio_track_unittest.cc 42 audio_bus_ = media::AudioBus::Create(params);
56 audio_bus_->Zero();
57 callback->Capture(audio_bus_.get(), 0, 0, false);
77 scoped_ptr<media::AudioBus> audio_bus_; member in class:content::__anon10909::FakeAudioThread

Completed in 332 milliseconds

1 2