/external/chromium_org/media/audio/win/ |
D | audio_low_latency_input_win_unittest.cc | 173 explicit AudioInputStreamWrapper(AudioManager* audio_manager) in AudioInputStreamWrapper() argument 175 audio_man_(audio_manager), in AudioInputStreamWrapper() 177 audio_manager->GetInputStreamParameters( in AudioInputStreamWrapper() 226 AudioManager* audio_manager) { in CreateDefaultAudioInputStream() argument 227 AudioInputStreamWrapper aisw(audio_manager); in CreateDefaultAudioInputStream() 268 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST() local 269 if (!CanRunAudioTests(audio_manager.get())) in TEST() 276 audio_manager->GetAudioInputDeviceNames(&device_names); in TEST() 290 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST() local 291 if (!CanRunAudioTests(audio_manager.get())) in TEST() [all …]
|
D | audio_low_latency_output_win_unittest.cc | 175 explicit AudioOutputStreamWrapper(AudioManager* audio_manager) in AudioOutputStreamWrapper() argument 176 : audio_man_(audio_manager), in AudioOutputStreamWrapper() 235 AudioManager* audio_manager) { in CreateDefaultAudioOutputStream() argument 236 AudioOutputStreamWrapper aosw(audio_manager); in CreateDefaultAudioOutputStream() 247 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST() local 248 if (!CanRunAudioTests(audio_manager.get()) || ExclusiveModeIsEnabled()) in TEST() 260 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST() local 261 if (!CanRunAudioTests(audio_manager.get())) in TEST() 263 AudioOutputStream* aos = CreateDefaultAudioOutputStream(audio_manager.get()); in TEST() 269 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST() local [all …]
|
/external/chromium_org/media/audio/ |
D | audio_input_unittest.cc | 64 AudioManager* audio_manager() { return audio_manager_.get(); } in audio_manager() function in media::AudioInputTest 67 bool has_input = audio_manager()->HasAudioInputDevices(); in CanRunAudioTests() 112 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in MakeAudioInputStream() 113 AudioParameters params = audio_manager()->GetInputStreamParameters( in MakeAudioInputStream() 115 audio_input_stream_ = audio_manager()->MakeAudioInputStream(params, in MakeAudioInputStream() 121 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in OpenAndClose() 128 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in OpenAndStart() 134 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in OpenStopAndClose() 142 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in StopAndClose() 150 if (!audio_manager()->GetTaskRunner()->BelongsToCurrentThread()) { in RunOnAudioThread() [all …]
|
D | audio_low_latency_input_output_unittest.cc | 114 AudioManager* audio_manager() { return &mock_audio_manager_; } in audio_manager() function in media::AudioLowLatencyInputOutputTest 120 bool input = audio_manager()->HasAudioInputDevices(); in CanRunAudioTests() 121 bool output = audio_manager()->HasAudioOutputDevices(); in CanRunAudioTests() 294 AudioManager* audio_manager) { in GetDefaultAudioStreamParameters() argument 295 return audio_manager->GetInputStreamParameters( in GetDefaultAudioStreamParameters() 299 static StreamType* CreateStream(AudioManager* audio_manager, in CreateStream() argument 301 return audio_manager->MakeAudioInputStream(params, in CreateStream() 311 AudioManager* audio_manager) { in GetDefaultAudioStreamParameters() argument 312 return audio_manager->GetDefaultOutputStreamParameters(); in GetDefaultAudioStreamParameters() 315 static StreamType* CreateStream(AudioManager* audio_manager, in CreateStream() argument [all …]
|
D | audio_input_controller_unittest.cc | 87 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST_F() local 92 AudioInputController::Create(audio_manager.get(), in TEST_F() 125 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST_F() local 131 AudioInputController::Create(audio_manager.get(), in TEST_F() 178 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST_F() local 184 AudioInputController::Create(audio_manager.get(), in TEST_F() 215 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST_F() local 222 AudioInputController::Create(audio_manager.get(), in TEST_F() 241 scoped_ptr<AudioManager> audio_manager(AudioManager::CreateForTesting()); in TEST_F() local 248 AudioInputController::Create(audio_manager.get(), in TEST_F()
|
D | audio_output_dispatcher.cc | 12 AudioManager* audio_manager, in AudioOutputDispatcher() argument 15 : audio_manager_(audio_manager), in AudioOutputDispatcher() 16 task_runner_(audio_manager->GetTaskRunner()), in AudioOutputDispatcher() 21 DCHECK(audio_manager->GetTaskRunner()->BelongsToCurrentThread()); in AudioOutputDispatcher()
|
D | test_audio_input_controller_factory.cc | 12 AudioManager* audio_manager, in TestAudioInputController() argument 21 task_runner_ = audio_manager->GetTaskRunner(); in TestAudioInputController() 50 AudioManager* audio_manager, in Create() argument 56 this, audio_manager, params, event_handler, NULL, user_input_monitor); in Create()
|
D | audio_input_controller.cc | 122 AudioManager* audio_manager, in Create() argument 127 DCHECK(audio_manager); in Create() 134 audio_manager, event_handler, params, user_input_monitor); in Create() 139 controller->task_runner_ = audio_manager->GetTaskRunner(); in Create() 147 base::Unretained(audio_manager), in Create() 158 AudioManager* audio_manager, in CreateLowLatency() argument 164 DCHECK(audio_manager); in CreateLowLatency() 174 controller->task_runner_ = audio_manager->GetTaskRunner(); in CreateLowLatency() 182 base::Unretained(audio_manager), in CreateLowLatency() 246 void AudioInputController::DoCreate(AudioManager* audio_manager, in DoCreate() argument [all …]
|
D | audio_output_controller.cc | 21 AudioManager* audio_manager, in AudioOutputController() argument 26 : audio_manager_(audio_manager), in AudioOutputController() 35 message_loop_(audio_manager->GetTaskRunner()), in AudioOutputController() 40 DCHECK(audio_manager); in AudioOutputController() 52 AudioManager* audio_manager, in Create() argument 57 DCHECK(audio_manager); in Create() 60 if (!params.IsValid() || !audio_manager) in Create() 64 audio_manager, event_handler, params, output_device_id, sync_reader)); in Create()
|
D | audio_input_controller.h | 154 AudioManager* audio_manager, 169 AudioManager* audio_manager, 186 AudioManager* audio_manager, 275 void DoCreate(AudioManager* audio_manager, 278 void DoCreateForLowLatency(AudioManager* audio_manager,
|
D | audio_manager_unittest.cc | 48 AudioManager* audio_manager() { return audio_manager_.get(); }; in audio_manager() function in media::AudioManagerTest 135 if (!audio_manager()->GetTaskRunner()->BelongsToCurrentThread()) { in RunOnAudioThread() 151 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in RunOnAudioThreadImpl() 173 base::Unretained(audio_manager()), in TEST_F() 186 base::Unretained(audio_manager()), in TEST_F()
|
D | test_audio_input_controller_factory.h | 57 AudioManager* audio_manager, 101 AudioManager* audio_manager,
|
D | audio_output_dispatcher_impl.cc | 19 AudioManager* audio_manager, in AudioOutputDispatcherImpl() argument 23 : AudioOutputDispatcher(audio_manager, in AudioOutputDispatcherImpl() 32 audio_manager->CreateAudioLog(AudioLogFactory::AUDIO_OUTPUT_STREAM)), in AudioOutputDispatcherImpl()
|
D | audio_output_controller.h | 105 AudioManager* audio_manager, EventHandler* event_handler, 195 AudioOutputController(AudioManager* audio_manager, EventHandler* handler,
|
D | audio_output_dispatcher.h | 39 AudioOutputDispatcher(AudioManager* audio_manager,
|
D | audio_output_resampler.h | 40 AudioOutputResampler(AudioManager* audio_manager,
|
D | audio_output_dispatcher_impl.h | 36 AudioOutputDispatcherImpl(AudioManager* audio_manager,
|
/external/chromium_org/media/audio/android/ |
D | audio_android_unittest.cc | 420 AudioManager* audio_manager() { return audio_manager_.get(); } in audio_manager() function in media::AudioAndroidOutputTest 428 if (!audio_manager()->GetTaskRunner()->BelongsToCurrentThread()) { in RunOnAudioThread() 430 audio_manager()->GetTaskRunner()->PostTask( in RunOnAudioThread() 444 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in RunOnAudioThreadImpl() 525 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in GetDefaultOutputStreamParameters() 527 audio_manager()->GetDefaultOutputStreamParameters(); in GetDefaultOutputStreamParameters() 532 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in MakeOutputStream() 533 audio_output_stream_ = audio_manager()->MakeAudioOutputStream( in MakeOutputStream() 539 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in OpenAndClose() 546 DCHECK(audio_manager()->GetTaskRunner()->BelongsToCurrentThread()); in OpenAndStart() [all …]
|
D | audio_record_input.cc | 15 AudioManagerAndroid* audio_manager, in AudioRecordInputStream() argument 17 : audio_manager_(audio_manager), in AudioRecordInputStream()
|
/external/chromium_org/content/browser/speech/ |
D | speech_recognizer_impl.cc | 499 AudioManager* audio_manager = unit_test_is_active ? in StartRecording() local 502 DCHECK(audio_manager != NULL); in StartRecording() 511 if (!audio_manager->HasAudioInputDevices()) { in StartRecording() 518 AudioParameters in_params = audio_manager->GetInputStreamParameters( in StartRecording() 570 audio_manager, this, input_parameters, device_id_, NULL); in StartRecording() 811 AudioManager* audio_manager) { in SetAudioManagerForTesting() argument 812 audio_manager_for_tests_ = audio_manager; in SetAudioManagerForTesting()
|
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/ |
D | webrtc_audio_private_browsertest.cc | 123 AudioManager* audio_manager = AudioManager::Get(); in GetAudioDeviceNames() local 125 if (!audio_manager->GetWorkerTaskRunner()->BelongsToCurrentThread()) { in GetAudioDeviceNames() 126 audio_manager->GetWorkerTaskRunner()->PostTask( in GetAudioDeviceNames() 132 (audio_manager->*EnumerationFunc)(device_names); in GetAudioDeviceNames()
|
/external/chromium_org/media/audio/alsa/ |
D | alsa_input.h | 37 AlsaPcmInputStream(AudioManagerBase* audio_manager,
|
/external/chromium_org/content/browser/renderer_host/media/ |
D | audio_renderer_host_unittest.cc | 56 MockAudioRendererHost(media::AudioManager* audio_manager, in MockAudioRendererHost() argument 61 audio_manager, in MockAudioRendererHost()
|
D | audio_input_device_manager.h | 41 explicit AudioInputDeviceManager(media::AudioManager* audio_manager);
|
/external/chromium_org/media/audio/pulse/ |
D | pulse_input.h | 24 PulseAudioInputStream(AudioManagerPulse* audio_manager,
|