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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/Audio/RTCAudioSession.mm

Issue 2974613003: base->rtc_base: Update .c, .mm and .java files. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 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 #import "WebRTC/RTCAudioSession.h" 11 #import "WebRTC/RTCAudioSession.h"
12 12
13 #import <UIKit/UIKit.h> 13 #import <UIKit/UIKit.h>
14 14
15 #include "webrtc/base/atomicops.h" 15 #include "webrtc/rtc_base/atomicops.h"
16 #include "webrtc/base/checks.h" 16 #include "webrtc/rtc_base/checks.h"
17 #include "webrtc/base/criticalsection.h" 17 #include "webrtc/rtc_base/criticalsection.h"
18
19 18
20 #import "WebRTC/RTCAudioSessionConfiguration.h" 19 #import "WebRTC/RTCAudioSessionConfiguration.h"
21 #import "WebRTC/RTCLogging.h" 20 #import "WebRTC/RTCLogging.h"
22 21
23 #import "RTCAudioSession+Private.h" 22 #import "RTCAudioSession+Private.h"
24 23
25 24
26 NSString * const kRTCAudioSessionErrorDomain = @"org.webrtc.RTCAudioSession"; 25 NSString * const kRTCAudioSessionErrorDomain = @"org.webrtc.RTCAudioSession";
27 NSInteger const kRTCAudioSessionErrorLockRequired = -1; 26 NSInteger const kRTCAudioSessionErrorLockRequired = -1;
28 NSInteger const kRTCAudioSessionErrorConfiguration = -2; 27 NSInteger const kRTCAudioSessionErrorConfiguration = -2;
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
917 - (void)notifyDidDetectPlayoutGlitch:(int64_t)totalNumberOfGlitches { 916 - (void)notifyDidDetectPlayoutGlitch:(int64_t)totalNumberOfGlitches {
918 for (auto delegate : self.delegates) { 917 for (auto delegate : self.delegates) {
919 SEL sel = @selector(audioSession:didDetectPlayoutGlitch:); 918 SEL sel = @selector(audioSession:didDetectPlayoutGlitch:);
920 if ([delegate respondsToSelector:sel]) { 919 if ([delegate respondsToSelector:sel]) {
921 [delegate audioSession:self didDetectPlayoutGlitch:totalNumberOfGlitches]; 920 [delegate audioSession:self didDetectPlayoutGlitch:totalNumberOfGlitches];
922 } 921 }
923 } 922 }
924 } 923 }
925 924
926 @end 925 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698