OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" | 11 #include "webrtc/modules/audio_device/mac/audio_mixer_manager_mac.h" |
12 #include "webrtc/system_wrappers/interface/trace.h" | 12 #include "webrtc/system_wrappers/include/trace.h" |
13 | 13 |
14 #include <unistd.h> // getpid() | 14 #include <unistd.h> // getpid() |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
18 #define WEBRTC_CA_RETURN_ON_ERR(expr) \ | 18 #define WEBRTC_CA_RETURN_ON_ERR(expr) \ |
19 do { \ | 19 do { \ |
20 err = expr; \ | 20 err = expr; \ |
21 if (err != noErr) { \ | 21 if (err != noErr) { \ |
22 logCAMsg(kTraceError, kTraceAudioDevice, _id, \ | 22 logCAMsg(kTraceError, kTraceAudioDevice, _id, \ |
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1158 WEBRTC_TRACE(level, module, id, "%s: %.4s", msg, err); | 1158 WEBRTC_TRACE(level, module, id, "%s: %.4s", msg, err); |
1159 #else | 1159 #else |
1160 // We need to flip the characters in this case. | 1160 // We need to flip the characters in this case. |
1161 WEBRTC_TRACE(level, module, id, "%s: %.1s%.1s%.1s%.1s", msg, err + 3, err | 1161 WEBRTC_TRACE(level, module, id, "%s: %.1s%.1s%.1s%.1s", msg, err + 3, err |
1162 + 2, err + 1, err); | 1162 + 2, err + 1, err); |
1163 #endif | 1163 #endif |
1164 } | 1164 } |
1165 | 1165 |
1166 } // namespace webrtc | 1166 } // namespace webrtc |
1167 // EOF | 1167 // EOF |
OLD | NEW |