OLD | NEW |
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 <AVFoundation/AVFoundation.h> | 11 #import <AVFoundation/AVFoundation.h> |
12 #import <Foundation/Foundation.h> | 12 #import <Foundation/Foundation.h> |
13 | 13 |
14 #import "WebRTC/RTCMacros.h" | 14 #import "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMacros.h" |
15 | 15 |
16 NS_ASSUME_NONNULL_BEGIN | 16 NS_ASSUME_NONNULL_BEGIN |
17 | 17 |
18 extern NSString * const kRTCAudioSessionErrorDomain; | 18 extern NSString * const kRTCAudioSessionErrorDomain; |
19 /** Method that requires lock was called without lock. */ | 19 /** Method that requires lock was called without lock. */ |
20 extern NSInteger const kRTCAudioSessionErrorLockRequired; | 20 extern NSInteger const kRTCAudioSessionErrorLockRequired; |
21 /** Unknown configuration error occurred. */ | 21 /** Unknown configuration error occurred. */ |
22 extern NSInteger const kRTCAudioSessionErrorConfiguration; | 22 extern NSInteger const kRTCAudioSessionErrorConfiguration; |
23 | 23 |
24 @class RTCAudioSession; | 24 @class RTCAudioSession; |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 /** Convenience method that calls both setConfiguration and setActive. | 239 /** Convenience method that calls both setConfiguration and setActive. |
240 * |lockForConfiguration| must be called first. | 240 * |lockForConfiguration| must be called first. |
241 */ | 241 */ |
242 - (BOOL)setConfiguration:(RTCAudioSessionConfiguration *)configuration | 242 - (BOOL)setConfiguration:(RTCAudioSessionConfiguration *)configuration |
243 active:(BOOL)active | 243 active:(BOOL)active |
244 error:(NSError **)outError; | 244 error:(NSError **)outError; |
245 | 245 |
246 @end | 246 @end |
247 | 247 |
248 NS_ASSUME_NONNULL_END | 248 NS_ASSUME_NONNULL_END |
OLD | NEW |