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

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSession.h

Issue 2991343002: Decoupling audio_device from Obj-C code (Closed)
Patch Set: Rebasing... Created 3 years, 3 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/Audio/RTCAudioSession+Private.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <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
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
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/Audio/RTCAudioSession+Private.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698