Home
last modified time | relevance | path

Searched refs:audio_device_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/audio_device/
Daudio_device_impl.cc159 audio_device_.reset(new AudioDeviceDummy()); in CreatePlatformSpecificObjects()
162 audio_device_.reset(FileAudioDeviceFactory::CreateFileAudioDevice()); in CreatePlatformSpecificObjects()
163 if (audio_device_) { in CreatePlatformSpecificObjects()
167 audio_device_.reset(new AudioDeviceDummy()); in CreatePlatformSpecificObjects()
180 audio_device_.reset(new AudioDeviceWindowsCore()); in CreatePlatformSpecificObjects()
212 audio_device_.reset(new AudioDeviceTemplate<AudioRecordJni, AudioTrackJni>( in CreatePlatformSpecificObjects()
216 audio_device_.reset( in CreatePlatformSpecificObjects()
223 audio_device_.reset(new AudioDeviceTemplate<AudioRecordJni, OpenSLESPlayer>( in CreatePlatformSpecificObjects()
228 audio_device_.reset(new AudioDeviceTemplate<AAudioRecorder, AAudioPlayer>( in CreatePlatformSpecificObjects()
234 audio_device_.reset(new AudioDeviceTemplate<AudioRecordJni, AAudioPlayer>( in CreatePlatformSpecificObjects()
[all …]
Daudio_device_unittest.cc528 audio_device_ = CreateAudioDevice(); in MAYBE_AudioDeviceTest()
529 EXPECT_NE(audio_device_.get(), nullptr); in MAYBE_AudioDeviceTest()
532 audio_device_->ActiveAudioLayer(&audio_layer); in MAYBE_AudioDeviceTest()
539 requirements_satisfied_ = (audio_device_->Init() == 0); in MAYBE_AudioDeviceTest()
543 const int16_t num_playout_devices = audio_device_->PlayoutDevices(); in MAYBE_AudioDeviceTest()
544 const int16_t num_record_devices = audio_device_->RecordingDevices(); in MAYBE_AudioDeviceTest()
549 EXPECT_EQ(0, audio_device_->SetPlayoutDevice(AUDIO_DEVICE_ID)); in MAYBE_AudioDeviceTest()
550 EXPECT_EQ(0, audio_device_->InitSpeaker()); in MAYBE_AudioDeviceTest()
551 EXPECT_EQ(0, audio_device_->StereoPlayoutIsAvailable(&stereo_playout_)); in MAYBE_AudioDeviceTest()
552 EXPECT_EQ(0, audio_device_->SetStereoPlayout(stereo_playout_)); in MAYBE_AudioDeviceTest()
[all …]
Daudio_device_impl.h173 std::unique_ptr<AudioDeviceGeneric> audio_device_; variable
/external/webrtc/sdk/objc/native/src/audio/
Daudio_device_module_ios.mm51 audio_device_->AttachAudioBuffer(audio_device_buffer_.get());
62 if (audio_device_->ActiveAudioLayer(activeAudio) == -1) {
75 audio_device_.reset(new ios_adm::AudioDeviceIOS());
76 RTC_CHECK(audio_device_);
80 AudioDeviceGeneric::InitStatus status = audio_device_->Init();
96 if (audio_device_->Terminate() == -1) {
111 return audio_device_->InitSpeaker();
117 return audio_device_->InitMicrophone();
124 if (audio_device_->SpeakerVolumeIsAvailable(isAvailable) == -1) {
135 return audio_device_->SetSpeakerVolume(volume);
[all …]
Daudio_device_module_ios.h136 std::unique_ptr<AudioDeviceIOS> audio_device_; variable
/external/webrtc/audio/voip/test/
Dvoip_core_unittest.cc32 VoipCoreTest() { audio_device_ = test::MockAudioDeviceModule::CreateNice(); } in VoipCoreTest()
42 CreateDefaultTaskQueueFactory(), audio_device_, in SetUp()
48 rtc::scoped_refptr<test::MockAudioDeviceModule> audio_device_; member in webrtc::__anonf018ce240111::VoipCoreTest
55 EXPECT_CALL(*audio_device_, Recording()).WillOnce(Return(false)); in TEST_F()
56 EXPECT_CALL(*audio_device_, Playing()).WillOnce(Return(false)); in TEST_F()
57 EXPECT_CALL(*audio_device_, InitRecording()).WillOnce(Return(0)); in TEST_F()
58 EXPECT_CALL(*audio_device_, InitPlayout()).WillOnce(Return(0)); in TEST_F()
59 EXPECT_CALL(*audio_device_, StartRecording()).WillOnce(Return(0)); in TEST_F()
60 EXPECT_CALL(*audio_device_, StartPlayout()).WillOnce(Return(0)); in TEST_F()
72 EXPECT_CALL(*audio_device_, Recording()).WillOnce(Return(true)); in TEST_F()
[all …]
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc470 audio_device_ = CreateJavaAudioDeviceModule(jni_, context_.obj()); in AudioDeviceTest()
471 EXPECT_NE(audio_device_.get(), nullptr); in AudioDeviceTest()
472 EXPECT_EQ(0, audio_device_->Init()); in AudioDeviceTest()
476 virtual ~AudioDeviceTest() { EXPECT_EQ(0, audio_device_->Terminate()); } in ~AudioDeviceTest()
485 audio_device_->StereoPlayoutIsAvailable(&stereo_playout_is_available); in UpdateParameters()
486 audio_device_->StereoRecordingIsAvailable(&stereo_record_is_available); in UpdateParameters()
494 audio_device_ = CreateAudioDevice(audio_layer); in SetActiveAudioLayer()
495 EXPECT_NE(audio_device_.get(), nullptr); in SetActiveAudioLayer()
496 EXPECT_EQ(0, audio_device_->Init()); in SetActiveAudioLayer()
512 return audio_device_; in audio_device()
[all …]
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc472 audio_device_ = CreateAudioDevice(AudioDeviceModule::kPlatformDefaultAudio); in AudioDeviceTest()
473 EXPECT_NE(audio_device_.get(), nullptr); in AudioDeviceTest()
474 EXPECT_EQ(0, audio_device_->Init()); in AudioDeviceTest()
479 virtual ~AudioDeviceTest() { EXPECT_EQ(0, audio_device_->Terminate()); } in ~AudioDeviceTest()
497 return audio_device_; in audio_device()
501 return static_cast<AudioDeviceModuleImpl*>(audio_device_.get()); in audio_device_impl()
646 rtc::scoped_refptr<AudioDeviceModule> audio_device_; member in webrtc::AudioDeviceTest