Home
last modified time | relevance | path

Searched refs:audio_manager (Results 1 – 25 of 61) sorted by relevance

123

/external/chromium_org/media/audio/win/
Daudio_low_latency_input_win_unittest.cc173 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 …]
Daudio_low_latency_output_win_unittest.cc175 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/
Daudio_input_unittest.cc64 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 …]
Daudio_low_latency_input_output_unittest.cc114 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 …]
Daudio_input_controller_unittest.cc87 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()
Daudio_output_dispatcher.cc12 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()
Dtest_audio_input_controller_factory.cc12 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()
Daudio_input_controller.cc122 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 …]
Daudio_output_controller.cc21 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()
Daudio_input_controller.h154 AudioManager* audio_manager,
169 AudioManager* audio_manager,
186 AudioManager* audio_manager,
275 void DoCreate(AudioManager* audio_manager,
278 void DoCreateForLowLatency(AudioManager* audio_manager,
Daudio_manager_unittest.cc48 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()
Dtest_audio_input_controller_factory.h57 AudioManager* audio_manager,
101 AudioManager* audio_manager,
Daudio_output_dispatcher_impl.cc19 AudioManager* audio_manager, in AudioOutputDispatcherImpl() argument
23 : AudioOutputDispatcher(audio_manager, in AudioOutputDispatcherImpl()
32 audio_manager->CreateAudioLog(AudioLogFactory::AUDIO_OUTPUT_STREAM)), in AudioOutputDispatcherImpl()
Daudio_output_controller.h105 AudioManager* audio_manager, EventHandler* event_handler,
195 AudioOutputController(AudioManager* audio_manager, EventHandler* handler,
Daudio_output_dispatcher.h39 AudioOutputDispatcher(AudioManager* audio_manager,
Daudio_output_resampler.h40 AudioOutputResampler(AudioManager* audio_manager,
Daudio_output_dispatcher_impl.h36 AudioOutputDispatcherImpl(AudioManager* audio_manager,
/external/chromium_org/media/audio/android/
Daudio_android_unittest.cc420 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 …]
Daudio_record_input.cc15 AudioManagerAndroid* audio_manager, in AudioRecordInputStream() argument
17 : audio_manager_(audio_manager), in AudioRecordInputStream()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl.cc499 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/
Dwebrtc_audio_private_browsertest.cc123 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/
Dalsa_input.h37 AlsaPcmInputStream(AudioManagerBase* audio_manager,
/external/chromium_org/content/browser/renderer_host/media/
Daudio_renderer_host_unittest.cc56 MockAudioRendererHost(media::AudioManager* audio_manager, in MockAudioRendererHost() argument
61 audio_manager, in MockAudioRendererHost()
Daudio_input_device_manager.h41 explicit AudioInputDeviceManager(media::AudioManager* audio_manager);
/external/chromium_org/media/audio/pulse/
Dpulse_input.h24 PulseAudioInputStream(AudioManagerPulse* audio_manager,

123