Index: webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm b/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm |
index 2b9c6b92d27e218459201e81ce8e4e3cdc2c99a2..764445b9b6b707a6043907c06a885ec2bd352de8 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm |
@@ -13,10 +13,10 @@ |
#include "webrtc/base/checks.h" |
@implementation RTCAudioSource { |
- rtc::scoped_refptr<webrtc::AudioSourceInterface> _nativeAudioSource; |
} |
@synthesize volume = _volume; |
+@synthesize nativeAudioSource = _nativeAudioSource; |
- (instancetype)initWithNativeAudioSource: |
(rtc::scoped_refptr<webrtc::AudioSourceInterface>)nativeAudioSource { |
@@ -45,10 +45,4 @@ |
_nativeAudioSource->SetVolume(volume); |
} |
-#pragma mark - Private |
- |
-- (rtc::scoped_refptr<webrtc::AudioSourceInterface>)nativeAudioSource { |
- return _nativeAudioSource; |
-} |
- |
@end |