blob: 3db31573cb85a4b128874a5dda34017f733fb59a [file] [log] [blame]
tkchind4bfbfc2016-08-30 11:56:05 -07001/*
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#import <Foundation/Foundation.h>
12
13#import <WebRTC/RTCMacros.h>
14#import <WebRTC/RTCMediaSource.h>
15
16NS_ASSUME_NONNULL_BEGIN
17
18RTC_EXPORT
19@interface RTCAudioSource : RTCMediaSource
20
21- (instancetype)init NS_UNAVAILABLE;
22
kthelgason5a4c68e2017-03-28 04:35:58 -070023// Sets the volume for the RTCMediaSource. |volume| is a gain value in the range
frederik.riedel0d1305e2017-02-23 13:57:00 -080024// [0, 10].
kthelgason5a4c68e2017-03-28 04:35:58 -070025// Temporary fix to be able to modify volume of remote audio tracks.
26// TODO(kthelgason): Property stays here temporarily until a proper volume-api
27// is available on the surface exposed by webrtc.
frederik.riedel0d1305e2017-02-23 13:57:00 -080028@property(nonatomic, assign) double volume;
29
tkchind4bfbfc2016-08-30 11:56:05 -070030@end
31
32NS_ASSUME_NONNULL_END