Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Unified Diff: webrtc/modules/audio_device/audio_device_impl.cc

Issue 2978083002: Replace WEBRTC_TRACE logging in modules/audio_device/linux/ (Closed)
Patch Set: Identical, no deps. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_device/linux/audio_device_alsa_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/audio_device_impl.cc
diff --git a/webrtc/modules/audio_device/audio_device_impl.cc b/webrtc/modules/audio_device/audio_device_impl.cc
index 1731c3871642912d7f7d74ec0eeedfb0c6dddbcc..58d58d3d03e655accb5481a0b7543633a76f2cc6 100644
--- a/webrtc/modules/audio_device/audio_device_impl.cc
+++ b/webrtc/modules/audio_device/audio_device_impl.cc
@@ -257,7 +257,7 @@ int32_t AudioDeviceModuleImpl::CreatePlatformSpecificObjects() {
LOG(INFO) << "attempting to use the Linux PulseAudio APIs...";
// create *Linux PulseAudio* implementation
- AudioDeviceLinuxPulse* pulseDevice = new AudioDeviceLinuxPulse(Id());
+ AudioDeviceLinuxPulse* pulseDevice = new AudioDeviceLinuxPulse();
if (pulseDevice->Init() == AudioDeviceGeneric::InitStatus::OK) {
ptrAudioDevice = pulseDevice;
LOG(INFO) << "Linux PulseAudio APIs will be utilized";
@@ -266,7 +266,7 @@ int32_t AudioDeviceModuleImpl::CreatePlatformSpecificObjects() {
#endif
#if defined(LINUX_ALSA)
// create *Linux ALSA Audio* implementation
- ptrAudioDevice = new AudioDeviceLinuxALSA(Id());
+ ptrAudioDevice = new AudioDeviceLinuxALSA();
if (ptrAudioDevice != NULL) {
// Pulse Audio was not supported => revert to ALSA instead
_platformAudioLayer =
@@ -281,7 +281,7 @@ int32_t AudioDeviceModuleImpl::CreatePlatformSpecificObjects() {
} else if (audioLayer == kLinuxAlsaAudio) {
#if defined(LINUX_ALSA)
// create *Linux ALSA Audio* implementation
- ptrAudioDevice = new AudioDeviceLinuxALSA(Id());
+ ptrAudioDevice = new AudioDeviceLinuxALSA();
LOG(INFO) << "Linux ALSA APIs will be utilized";
#endif
}
« no previous file with comments | « no previous file | webrtc/modules/audio_device/linux/audio_device_alsa_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698