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

Unified Diff: webrtc/modules/audio_device/mac/audio_device_mac.h

Issue 2985443002: Replace WEBRTC_TRACE logging in modules/audio_device/.. mac/ win/ (Closed)
Patch Set: Manual fixes. 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
Index: webrtc/modules/audio_device/mac/audio_device_mac.h
diff --git a/webrtc/modules/audio_device/mac/audio_device_mac.h b/webrtc/modules/audio_device/mac/audio_device_mac.h
index 0acf752ac4563db48920a659ed770c46113d433b..66903823ddcde22c12fa9be27f37dd27ef19b689 100644
--- a/webrtc/modules/audio_device/mac/audio_device_mac.h
+++ b/webrtc/modules/audio_device/mac/audio_device_mac.h
@@ -16,6 +16,7 @@
#include "webrtc/modules/audio_device/audio_device_generic.h"
#include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h"
#include "webrtc/rtc_base/criticalsection.h"
+#include "webrtc/rtc_base/logging.h"
#include "webrtc/rtc_base/thread_annotations.h"
#include "webrtc/system_wrappers/include/event_wrapper.h"
@@ -61,7 +62,7 @@ const int kGetMicVolumeIntervalMs = 1000;
class AudioDeviceMac : public AudioDeviceGeneric {
public:
- AudioDeviceMac(const int32_t id);
+ AudioDeviceMac();
~AudioDeviceMac();
// Retrieve the currently utilized audio layer
@@ -189,9 +190,7 @@ class AudioDeviceMac : public AudioDeviceGeneric {
static void AtomicSet32(int32_t* theValue, int32_t newValue);
static int32_t AtomicGet32(int32_t* theValue);
- static void logCAMsg(const TraceLevel level,
- const TraceModule module,
- const int32_t id,
+ static void logCAMsg(const rtc::LoggingSeverity sev,
const char* msg,
const char* err);
@@ -297,8 +296,6 @@ class AudioDeviceMac : public AudioDeviceGeneric {
// Only valid/running between calls to StartPlayout and StopPlayout.
std::unique_ptr<rtc::PlatformThread> render_worker_thread_;
- int32_t _id;
-
AudioMixerManagerMac _mixerManager;
uint16_t _inputDeviceIndex;
« no previous file with comments | « webrtc/modules/audio_device/audio_device_impl.cc ('k') | webrtc/modules/audio_device/mac/audio_device_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698