| Index: webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h
|
| diff --git a/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h b/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h
|
| index 6a02751d29413422f2a9b7effc844d3147da7182..e40910820d1bd5b9451d71f7b40953a53c5cc8b6 100644
|
| --- a/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h
|
| +++ b/webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright 2016 The WebRTC Project Authors. All rights reserved.
|
| + * Copyright 2017 The WebRTC Project Authors. All rights reserved.
|
| *
|
| * Use of this source code is governed by a BSD-style license
|
| * that can be found in the LICENSE file in the root of the source
|
| @@ -8,41 +8,4 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#import <AVFoundation/AVFoundation.h>
|
| -#import <Foundation/Foundation.h>
|
| -
|
| -#import "WebRTC/RTCMacros.h"
|
| -
|
| -NS_ASSUME_NONNULL_BEGIN
|
| -
|
| -extern const int kRTCAudioSessionPreferredNumberOfChannels;
|
| -extern const double kRTCAudioSessionHighPerformanceSampleRate;
|
| -extern const double kRTCAudioSessionLowComplexitySampleRate;
|
| -extern const double kRTCAudioSessionHighPerformanceIOBufferDuration;
|
| -extern const double kRTCAudioSessionLowComplexityIOBufferDuration;
|
| -
|
| -// Struct to hold configuration values.
|
| -RTC_EXPORT
|
| -@interface RTCAudioSessionConfiguration : NSObject
|
| -
|
| -@property(nonatomic, strong) NSString *category;
|
| -@property(nonatomic, assign) AVAudioSessionCategoryOptions categoryOptions;
|
| -@property(nonatomic, strong) NSString *mode;
|
| -@property(nonatomic, assign) double sampleRate;
|
| -@property(nonatomic, assign) NSTimeInterval ioBufferDuration;
|
| -@property(nonatomic, assign) NSInteger inputNumberOfChannels;
|
| -@property(nonatomic, assign) NSInteger outputNumberOfChannels;
|
| -
|
| -/** Initializes configuration to defaults. */
|
| -- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
| -
|
| -/** Returns the current configuration of the audio session. */
|
| -+ (instancetype)currentConfiguration;
|
| -/** Returns the configuration that WebRTC needs. */
|
| -+ (instancetype)webRTCConfiguration;
|
| -/** Provide a way to override the default configuration. */
|
| -+ (void)setWebRTCConfiguration:(RTCAudioSessionConfiguration *)configuration;
|
| -
|
| -@end
|
| -
|
| -NS_ASSUME_NONNULL_END
|
| +#import "webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSessionConfiguration.h"
|
|
|