Home
last modified time | relevance | path

Searched refs:input_bus_ (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/content/renderer/media/
Dwebrtc_local_audio_source_provider.cc67 input_bus_ = media::AudioBus::Create(params.channels(), in OnSetFormat()
85 DCHECK(input_bus_->frames() == number_of_frames); in OnData()
86 DCHECK(input_bus_->channels() == number_of_channels); in OnData()
87 input_bus_->FromInterleaved(audio_data, number_of_frames, 2); in OnData()
90 fifo_->Push(input_bus_.get()); in OnData()
Dwebrtc_local_audio_source_provider.h85 scoped_ptr<media::AudioBus> input_bus_; in NON_EXPORTED_BASE() local
/external/chromium_org/content/browser/renderer_host/media/
Daudio_sync_reader.cc45 input_bus_ = AudioBus::WrapMemory(input_channels_, frames, input_data); in AudioSyncReader()
46 input_bus_->Zero(); in AudioSyncReader()
84 if (input_bus_) { in Read()
86 source->CopyTo(input_bus_.get()); in Read()
88 input_bus_->Zero(); in Read()
Daudio_sync_reader.h73 scoped_ptr<media::AudioBus> input_bus_; variable
/external/chromium_org/media/audio/mac/
Daudio_auhal_mac.cc126 input_bus_.reset(NULL); in Close()
218 input_bus_->Zero(); in Render()
259 input_bus_.get(), in ProvideInput()
372 input_bus_ = AudioBus::Create(input_channels_, number_of_frames_); in CreateIOBusses()
375 UInt32 buffer_size_bytes = input_bus_->frames() * sizeof(Float32); in CreateIOBusses()
379 input_buffer_list_->mBuffers[i].mData = input_bus_->channel(i); in CreateIOBusses()
Daudio_unified_mac.cc52 input_bus_ = AudioBus::Create(client_input_channels_, in AudioHardwareUnifiedStream()
327 float* p = input_bus_->channel(channel_index); in Render()
334 input_bus_->Zero(); in Render()
338 source_->OnMoreIOData(input_bus_.get(), in Render()
Daudio_synchronized_mac.cc176 input_bus_.reset(NULL); in Close()
737 input_bus_ = AudioBus::Create(hardware_channels, hardware_buffer_size_); in AllocateInputData()
751 UInt32 buffer_size_bytes = input_bus_->frames() * sizeof(Float32); in AllocateInputData()
755 input_buffer_list_->mBuffers[i].mData = input_bus_->channel(i); in AllocateInputData()
786 if (input_bus_->frames() <= available_frames) { in HandleInputCallback()
788 channel_mixer_->Transform(input_bus_.get(), mixer_bus_.get()); in HandleInputCallback()
791 fifo_.Push(input_bus_.get()); in HandleInputCallback()
Daudio_unified_mac.h92 scoped_ptr<AudioBus> input_bus_; variable
Daudio_auhal_mac.h157 scoped_ptr<AudioBus> input_bus_; variable
Daudio_synchronized_mac.h160 scoped_ptr<AudioBus> input_bus_; variable
/external/chromium_org/media/audio/
Daudio_output_device.cc36 scoped_ptr<AudioBus> input_bus_; member in media::AudioOutputDevice::AudioThreadCallback
301 input_bus_ = AudioBus::WrapMemory(input_channels, frames, input_data); in MapSharedMemory()
320 if (input_bus_ && input_channels > 0) { in Process()
322 input_bus_.get(), output_bus_.get(), audio_delay_milliseconds); in Process()
/external/chromium_org/media/audio/win/
Daudio_unified_win.cc267 input_bus_ = AudioBus::Create( in Open()
770 input_bus_->Zero(); in ProcessInputAudio()
780 input_bus_->Zero(); in ProcessInputAudio()
784 input_bus_->FromInterleaved( in ProcessInputAudio()
796 if (input_bus_->frames() <= available_frames) { in ProcessInputAudio()
797 fifo_->Push(input_bus_.get()); in ProcessInputAudio()
914 resampled_bus_.get() : input_bus_.get(); in ProcessOutputAudio()
Daudio_unified_win.h278 scoped_ptr<AudioBus> input_bus_; variable
/external/chromium_org/media/audio/pulse/
Dpulse_unified.cc59 input_bus_ = AudioBus::Create(params_); in PulseAudioUnifiedStream()
161 input_bus_->FromInterleaved( in WriteData()
165 input_bus_.get(), in WriteData()
Dpulse_unified.h75 scoped_ptr<AudioBus> input_bus_; variable
/external/chromium_org/media/audio/cras/
Dcras_unified.cc101 input_bus_ = AudioBus::Create(input_channels, in CrasUnifiedStream()
352 input_bus_->FromInterleaved(input_samples, frames, bytes_per_sample); in ReadWriteAudio()
365 input_bus_.get(), in ReadWriteAudio()
Dcras_unified.h111 scoped_ptr<AudioBus> input_bus_; variable
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl.cc54 scoped_ptr<AudioBus> input_bus_; member in content::SpeechRecognizerImpl::OnDataConverter
119 input_bus_(AudioBus::Create(input_params)), in OnDataConverter()
138 input_bus_->FromInterleaved( in Convert()
139 data, input_bus_->frames(), input_parameters_.bits_per_sample() / 8); in Convert()
164 input_bus_->CopyTo(dest); in ProvideInput()