Home
last modified time | relevance | path

Searched refs:AudioManagerBase (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/media/audio/
Daudio_manager_base.cc33 const char AudioManagerBase::kDefaultDeviceName[] = "Default";
34 const char AudioManagerBase::kDefaultDeviceId[] = "default";
35 const char AudioManagerBase::kLoopbackInputDeviceId[] = "loopback";
37 struct AudioManagerBase::DispatcherParams {
55 class AudioManagerBase::CompareByParams {
74 AudioManagerBase::AudioManagerBase(AudioLogFactory* audio_log_factory) in AudioManagerBase() function in media::AudioManagerBase
102 AudioManagerBase::~AudioManagerBase() { in ~AudioManagerBase()
115 base::string16 AudioManagerBase::GetAudioInputDeviceModel() { in GetAudioInputDeviceModel()
119 scoped_refptr<base::SingleThreadTaskRunner> AudioManagerBase::GetTaskRunner() { in GetTaskRunner()
124 AudioManagerBase::GetWorkerTaskRunner() { in GetWorkerTaskRunner()
[all …]
Dfake_audio_output_stream.h15 class AudioManagerBase; variable
22 static AudioOutputStream* MakeFakeStream(AudioManagerBase* manager,
34 FakeAudioOutputStream(AudioManagerBase* manager,
41 AudioManagerBase* audio_manager_;
Dfake_audio_input_stream.h22 class AudioManagerBase; variable
27 static AudioInputStream* MakeFakeStream(AudioManagerBase* manager,
53 FakeAudioInputStream(AudioManagerBase* manager,
60 AudioManagerBase* audio_manager_;
Daudio_manager_base.h29 class MEDIA_EXPORT AudioManagerBase : public AudioManager {
49 virtual ~AudioManagerBase();
125 AudioManagerBase(AudioLogFactory* audio_log_factory);
199 DISALLOW_COPY_AND_ASSIGN(AudioManagerBase);
Daudio_input_controller_unittest.cc95 AudioManagerBase::kDefaultDeviceId, in TEST_F()
134 AudioManagerBase::kDefaultDeviceId, in TEST_F()
187 AudioManagerBase::kDefaultDeviceId, in TEST_F()
225 AudioManagerBase::kDefaultDeviceId, in TEST_F()
251 AudioManagerBase::kDefaultDeviceId, in TEST_F()
Dfake_audio_output_stream.cc17 AudioManagerBase* manager, const AudioParameters& params) { in MakeFakeStream()
21 FakeAudioOutputStream::FakeAudioOutputStream(AudioManagerBase* manager, in FakeAudioOutputStream()
Daudio_manager_unittest.cc89 EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceName), in CheckDeviceNames()
91 EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceId), it->unique_id); in CheckDeviceNames()
101 EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceName), in CheckDeviceNames()
103 EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceId), in CheckDeviceNames()
Daudio_input_unittest.cc114 AudioManagerBase::kDefaultDeviceId); in MakeAudioInputStream()
116 AudioManagerBase::kDefaultDeviceId); in MakeAudioInputStream()
Dfake_audio_input_stream.cc62 AudioManagerBase* manager, in MakeFakeStream()
67 FakeAudioInputStream::FakeAudioInputStream(AudioManagerBase* manager, in FakeAudioInputStream()
Dfake_audio_manager.h16 class MEDIA_EXPORT FakeAudioManager : public AudioManagerBase {
/external/chromium_org/media/audio/android/
Daudio_manager_android.cc34 AudioDeviceName(AudioManagerBase::kDefaultDeviceName, in AddDefaultDevice()
35 AudioManagerBase::kDefaultDeviceId)); in AddDefaultDevice()
49 : AudioManagerBase(audio_log_factory), in AudioManagerAndroid()
151 AudioManagerBase::MakeAudioOutputStream(params, std::string()); in MakeAudioOutputStream()
161 AudioManagerBase::MakeAudioInputStream(params, device_id); in MakeAudioInputStream()
176 AudioManagerBase::ReleaseOutputStream(stream); in ReleaseOutputStream()
183 AudioManagerBase::ReleaseInputStream(stream); in ReleaseInputStream()
341 device_id == AudioManagerBase::kDefaultDeviceId ? in SetAudioDevice()
Daudio_android_unittest.cc105 EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceName), in CheckDeviceNames()
107 EXPECT_EQ(std::string(AudioManagerBase::kDefaultDeviceId), it->unique_id); in CheckDeviceNames()
117 EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceName), in CheckDeviceNames()
119 EXPECT_NE(std::string(AudioManagerBase::kDefaultDeviceId), in CheckDeviceNames()
681 AudioManagerBase::kDefaultDeviceId); in GetDefaultInputStreamParameters()
687 params, AudioManagerBase::kDefaultDeviceId); in MakeInputStream()
/external/chromium_org/media/audio/pulse/
Dpulse_output.h36 class AudioManagerBase; variable
42 AudioManagerBase* manager);
77 AudioManagerBase* manager_;
Daudio_manager_pulse.cc61 : AudioManagerBase(audio_log_factory), in AudioManagerPulse()
116 AudioDeviceName(AudioManagerBase::kDefaultDeviceName, in GetAudioDeviceNames()
117 AudioManagerBase::kDefaultDeviceId)); in GetAudioDeviceNames()
146 return MakeOutputStream(params, AudioManagerBase::kDefaultDeviceId); in MakeLinearOutputStream()
155 device_id.empty() ? AudioManagerBase::kDefaultDeviceId : device_id); in MakeLowLatencyOutputStream()
/external/chromium_org/media/audio/alsa/
Dalsa_input.h23 class AudioManagerBase; variable
37 AlsaPcmInputStream(AudioManagerBase* audio_manager,
73 AudioManagerBase* audio_manager_;
Dalsa_output.h43 class AudioManagerBase; variable
73 AudioManagerBase* manager);
190 AudioManagerBase* manager_;
Daudio_manager_alsa.cc85 : AudioManagerBase(audio_log_factory), in AudioManagerAlsa()
167 AudioManagerBase::kDefaultDeviceName, in GetAlsaDevicesInfo()
168 AudioManagerBase::kDefaultDeviceId)); in GetAlsaDevicesInfo()
348 std::string device_name = (device_id == AudioManagerBase::kDefaultDeviceId) ? in MakeInputStream()
/external/chromium_org/content/browser/speech/
Dspeech_recognizer_impl_unittest.cc205 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
218 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
231 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
279 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
299 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
336 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
371 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
389 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
409 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
434 recognizer_->StartRecognition(media::AudioManagerBase::kDefaultDeviceId); in TEST_F()
[all …]
/external/chromium_org/media/audio/cras/
Dcras_input_unittest.cc74 AudioManagerBase::kDefaultDeviceId); in CreateStream()
80 params, mock_manager_.get(), AudioManagerBase::kDefaultDeviceId); in CaptureSomeFrames()
143 bad_bps_params, mock_manager_.get(), AudioManagerBase::kDefaultDeviceId); in TEST_F()
156 AudioManagerBase::kDefaultDeviceId); in TEST_F()
168 bad_rate_params, mock_manager_.get(), AudioManagerBase::kDefaultDeviceId); in TEST_F()
Daudio_manager_cras.cc30 AudioDeviceName(AudioManagerBase::kDefaultDeviceName, in AddDefaultDevice()
31 AudioManagerBase::kDefaultDeviceId)); in AddDefaultDevice()
56 : AudioManagerBase(audio_log_factory), in AudioManagerCras()
/external/chromium_org/media/audio/win/
Daudio_manager_win.cc130 : AudioManagerBase(audio_log_factory), in AudioManagerWin()
287 name.device_name = AudioManagerBase::kDefaultDeviceName; in GetAudioDeviceNamesImpl()
288 name.unique_id = AudioManagerBase::kDefaultDeviceId; in GetAudioDeviceNamesImpl()
364 device_id != AudioManagerBase::kDefaultDeviceId) in MakeLowLatencyOutputStream()
375 device_id == AudioManagerBase::kDefaultDeviceId ? in MakeLowLatencyOutputStream()
516 if (device_id != AudioManagerBase::kDefaultDeviceId && in CreatePCMWaveInAudioInputStream()
Daudio_low_latency_input_win.cc318 if (device_id == AudioManagerBase::kDefaultDeviceId) { in GetMixFormat()
322 } else if (device_id == AudioManagerBase::kLoopbackInputDeviceId) { in GetMixFormat()
526 if (endpoint_device_ && device_id_ != AudioManagerBase::kDefaultDeviceId) { in SetCaptureDevice()
544 if (device_id_ == AudioManagerBase::kDefaultDeviceId) { in SetCaptureDevice()
550 } else if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in SetCaptureDevice()
652 if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in InitializeAudioEngine()
728 if (device_id_ == AudioManagerBase::kLoopbackInputDeviceId) { in InitializeAudioEngine()
Daudio_low_latency_input_win_unittest.cc178 AudioManagerBase::kDefaultDeviceId)) { in AudioInputStreamWrapper()
213 AudioManagerBase::kDefaultDeviceId); in CreateInputStream()
443 AudioManagerBase::kLoopbackInputDeviceId); in TEST()
452 params, AudioManagerBase::kLoopbackInputDeviceId)); in TEST()
/external/chromium_org/media/audio/mac/
Daudio_manager_mac.cc157 name.device_name = AudioManagerBase::kDefaultDeviceName; in GetAudioDeviceInfo()
158 name.unique_id = AudioManagerBase::kDefaultDeviceId; in GetAudioDeviceInfo()
174 if (device_id == AudioManagerBase::kDefaultDeviceId || device_id.empty()) { in GetAudioDeviceIdByUId()
275 : AudioManagerBase(audio_log_factory), in AudioManagerMac()
573 if (device_id == AudioManagerBase::kDefaultDeviceId || device_id.empty()) in MakeLowLatencyOutputStream()
753 AudioManagerBase::ReleaseOutputStream(stream); in ReleaseOutputStream()
758 AudioManagerBase::ReleaseInputStream(stream); in ReleaseInputStream()
/external/chromium_org/chrome/browser/extensions/api/webrtc_audio_private/
Dwebrtc_audio_private_api.cc189 if (raw_id.empty() || raw_id == media::AudioManagerBase::kDefaultDeviceId) in CalculateHMACImpl()
190 return media::AudioManagerBase::kDefaultDeviceId; in CalculateHMACImpl()
294 result = media::AudioManagerBase::kDefaultDeviceId; in OnHMACCalculated()
348 if (sink_id_ == media::AudioManagerBase::kDefaultDeviceId) { in OnOutputDeviceNames()
474 if (associated_sink_id == media::AudioManagerBase::kDefaultDeviceId) { in OnHMACCalculated()

123