Home
last modified time | relevance | path

Searched refs:audio_manager_ (Results 1 – 25 of 53) sorted by relevance

123

/external/chromium_org/media/audio/
Daudio_manager_unittest.cc35 : audio_manager_(AudioManager::CreateForTesting()) in AudioManagerTest()
44 AudioManagerWin* amw = static_cast<AudioManagerWin*>(audio_manager_.get()); in SetMMDeviceEnumeration()
55 AudioManagerWin* amw = static_cast<AudioManagerWin*>(audio_manager_.get()); in SetWaveEnumeration()
61 AudioManagerWin* amw = static_cast<AudioManagerWin*>(audio_manager_.get()); in GetDeviceIdFromPCMWaveInAudioInputStream()
108 return audio_manager_->HasAudioInputDevices(); in CanRunInputTest()
112 return audio_manager_->HasAudioOutputDevices(); in CanRunOutputTest()
120 audio_manager_.reset(); in CreateAudioManagerForTesting()
121 audio_manager_.reset(T::Create(&fake_audio_log_factory_)); in CreateAudioManagerForTesting()
126 scoped_ptr<AudioManager> audio_manager_; member in media::AudioManagerTest
140 audio_manager_->GetAudioInputDeviceNames(&device_names); in TEST_F()
[all …]
Dfake_audio_output_stream.cc23 : audio_manager_(manager), in FakeAudioOutputStream()
33 DCHECK(audio_manager_->GetMessageLoop()->BelongsToCurrentThread()); in Open()
38 DCHECK(audio_manager_->GetMessageLoop()->BelongsToCurrentThread()); in Start()
45 DCHECK(audio_manager_->GetMessageLoop()->BelongsToCurrentThread()); in Stop()
52 DCHECK(audio_manager_->GetMessageLoop()->BelongsToCurrentThread()); in Close()
53 audio_manager_->ReleaseOutputStream(this); in Close()
63 DCHECK(audio_manager_->GetWorkerLoop()->BelongsToCurrentThread()); in CallOnMoreData()
Daudio_input_volume_unittest.cc41 : audio_manager_(AudioManager::CreateForTesting()) in AudioInputVolumeTest()
56 if (!audio_manager_) in CanRunAudioTests()
59 return audio_manager_->HasAudioInputDevices(); in CanRunAudioTests()
72 audio_manager_->GetInputStreamParameters(device_id); in CreateAndOpenStream()
73 AudioInputStream* ais = audio_manager_->MakeAudioInputStream( in CreateAndOpenStream()
93 scoped_ptr<AudioManager> audio_manager_; member in media::AudioInputVolumeTest
113 audio_manager_->GetAudioInputDeviceNames(&device_names); in TEST_F()
Daudio_output_controller.cc43 : audio_manager_(audio_manager), in AudioOutputController()
146 audio_manager_->MakeAudioOutputStreamProxy(params_, output_device_id_, in DoCreate()
164 audio_manager_->AddOutputDeviceChangeListener(this); in DoCreate()
382 audio_manager_->RemoveOutputDeviceChangeListener(this); in DoStopCloseAndClearStream()
489 audio_manager_->FixWedgedAudio(); in WedgeCheck()
Daudio_low_latency_input_output_unittest.cc331 audio_manager_(audio_manager), in StreamWrapper()
341 StreamTraits::GetDefaultAudioStreamParameters(audio_manager_); in StreamWrapper()
366 StreamType* stream = StreamTraits::CreateStream(audio_manager_, in CreateStream()
373 AudioManager* audio_manager_; member in media::StreamWrapper
Daudio_output_controller_unittest.cc96 : audio_manager_(AudioManager::CreateForTesting()), in AudioOutputControllerTest()
123 audio_manager_.get(), &mock_event_handler_, params_, std::string(), in Create()
169 audio_manager_->GetMessageLoop()->PostTask( in ChangeDevice()
262 scoped_ptr<AudioManager> audio_manager_; member in media::AudioOutputControllerTest
Dfake_audio_input_stream.cc42 : audio_manager_(manager), in FakeAudioInputStream()
143 audio_manager_->ReleaseInputStream(this); in Close()
Daudio_output_dispatcher.cc16 : audio_manager_(audio_manager), in AudioOutputDispatcher()
Dfake_audio_output_stream.h41 AudioManagerBase* audio_manager_; variable
Daudio_output_dispatcher.h85 AudioManager* audio_manager_; variable
Dfake_audio_input_stream.h58 AudioManagerBase* audio_manager_; variable
/external/chromium_org/content/test/
Dwebrtc_audio_device_test.cc290 audio_manager_.reset(media::AudioManager::CreateForTesting()); in InitializeIOThread()
292 media_stream_manager_.reset(new MediaStreamManager(audio_manager_.get())); in InitializeIOThread()
294 has_input_devices_ = audio_manager_->HasAudioInputDevices(); in InitializeIOThread()
295 has_output_devices_ = audio_manager_->HasAudioOutputDevices(); in InitializeIOThread()
310 audio_manager_.reset(); in UninitializeIOThread()
321 audio_manager_.get(), in CreateChannel()
329 new TestAudioInputRendererHost(audio_manager_.get(), in CreateChannel()
404 if (audio_manager_) in WaitForAudioManagerCompletion()
405 WaitForMessageLoopCompletion(audio_manager_->GetMessageLoop().get()); in WaitForAudioManagerCompletion()
/external/chromium_org/media/audio/sounds/
Dsounds_manager_unittest.cc27 audio_manager_.reset(AudioManager::CreateForTesting()); in SetUp()
33 audio_manager_.reset(); in TearDown()
41 scoped_ptr<AudioManager> audio_manager_; member in media::SoundsManagerTest
Daudio_stream_handler_unittest.cc28 audio_manager_.reset(AudioManager::CreateForTesting()); in SetUp()
36 audio_manager_.reset(); in TearDown()
53 scoped_ptr<AudioManager> audio_manager_; member in media::AudioStreamHandlerTest
/external/chromium_org/content/browser/renderer_host/media/
Daudio_renderer_host_unittest.cc157 audio_manager_.reset(media::AudioManager::CreateForTesting()); in AudioRendererHostTest()
158 media_stream_manager_.reset(new MediaStreamManager(audio_manager_.get())); in AudioRendererHostTest()
160 host_ = new MockAudioRendererHost(audio_manager_.get(), in AudioRendererHostTest()
268 audio_manager_->GetMessageLoop()->PostTask( in SyncWithAudioThread()
278 scoped_ptr<media::AudioManager> audio_manager_; member in content::AudioRendererHostTest
Daudio_input_device_manager.cc32 audio_manager_(audio_manager) { in AudioInputDeviceManager()
133 audio_manager_->GetAudioInputDeviceNames(&device_names); in EnumerateOnDeviceThread()
186 audio_manager_->GetInputStreamParameters(info.device.id); in OpenOnDeviceThread()
195 audio_manager_->GetAssociatedOutputDeviceID(info.device.id); in OpenOnDeviceThread()
197 params = audio_manager_->GetOutputStreamParameters( in OpenOnDeviceThread()
Dmedia_stream_manager_unittest.cc79 audio_manager_.reset(new MockAudioManager()); in MediaStreamManagerTest()
80 media_stream_manager_.reset(new MediaStreamManager(audio_manager_.get())); in MediaStreamManagerTest()
115 scoped_ptr<media::AudioManager> audio_manager_; member in content::MediaStreamManagerTest
Daudio_input_device_manager_unittest.cc49 return audio_manager_->HasAudioInputDevices(); in CanRunAudioInputDeviceTests()
58 audio_manager_.reset(media::AudioManager::CreateForTesting()); in SetUp()
59 manager_ = new AudioInputDeviceManager(audio_manager_.get()); in SetUp()
84 scoped_ptr<media::AudioManager> audio_manager_; member in content::AudioInputDeviceManagerTest
Daudio_input_renderer_host.cc57 : audio_manager_(audio_manager), in AudioInputRendererHost()
276 audio_manager_->GetMessageLoop(), in OnCreateStream()
280 audio_manager_->GetWorkerLoop(), in OnCreateStream()
289 media::AudioInputController::CreateLowLatency(audio_manager_, in OnCreateStream()
/external/chromium_org/media/audio/mac/
Daudio_low_latency_input_mac_unittest.cc98 MacAudioInputTest() : audio_manager_(AudioManager::CreateForTesting()) {} in MacAudioInputTest()
104 bool has_input = audio_manager_->HasAudioInputDevices(); in CanRunAudioTests()
116 AudioInputStream* ais = audio_manager_->MakeAudioInputStream( in CreateDefaultAudioInputStream()
129 AudioInputStream* ais = audio_manager_->MakeAudioInputStream( in CreateAudioInputStream()
137 scoped_ptr<AudioManager> audio_manager_; member in media::MacAudioInputTest
/external/chromium_org/media/audio/cras/
Dcras_input.cc22 : audio_manager_(manager), in CrasInputStream()
31 DCHECK(audio_manager_); in CrasInputStream()
102 audio_manager_->ReleaseInputStream(this); in Close()
/external/chromium_org/media/audio/android/
Daudio_record_input.cc15 : audio_manager_(audio_manager), in AudioRecordInputStream()
105 audio_manager_->ReleaseInputStream(this); in Close()
Daudio_record_input.h54 AudioManagerAndroid* audio_manager_; variable
/external/chromium_org/content/renderer/media/
Dwebrtc_audio_device_unittest.cc515 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
599 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
691 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
762 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
843 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
906 CreateRealHardwareConfig(audio_manager_.get()); in TEST_F()
951 int latency = RunWebRtcLoopbackTimeTest(audio_manager_.get(), false); in TEST_F()
974 int latency = RunWebRtcLoopbackTimeTest(audio_manager_.get(), true); in TEST_F()
/external/chromium_org/content/browser/
Dbrowser_main_loop.h89 media::AudioManager* audio_manager() const { return audio_manager_.get(); } in audio_manager()
142 scoped_ptr<media::AudioManager> audio_manager_; variable

123