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

Unified Diff: webrtc/sdk/objc/Framework/Classes/RTCAudioSource.mm

Issue 2777453003: Minor Cleanup of RTCAudioSource. (Closed)
Patch Set: typo Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCAudioSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698