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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/Audio/RTCAudioTrack.mm

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: Add required lib to metal target Created 3 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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 "RTCAudioTrack+Private.h" 11 #import "Audio/RTCAudioTrack+Private.h"
12 12
13 #import "NSString+StdString.h" 13 #import "Common/NSString+StdString.h"
14 #import "RTCAudioSource+Private.h" 14 #import "Audio/RTCAudioSource+Private.h"
15 #import "RTCMediaStreamTrack+Private.h" 15 #import "PeerConnection/RTCMediaStreamTrack+Private.h"
16 #import "RTCPeerConnectionFactory+Private.h" 16 #import "PeerConnection/RTCPeerConnectionFactory+Private.h"
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
19 19
20 @implementation RTCAudioTrack 20 @implementation RTCAudioTrack
21 21
22 @synthesize source = _source; 22 @synthesize source = _source;
23 23
24 - (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory 24 - (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory
25 source:(RTCAudioSource *)source 25 source:(RTCAudioSource *)source
26 trackId:(NSString *)trackId { 26 trackId:(NSString *)trackId {
(...skipping 30 matching lines...) Expand all
57 return _source; 57 return _source;
58 } 58 }
59 59
60 #pragma mark - Private 60 #pragma mark - Private
61 61
62 - (rtc::scoped_refptr<webrtc::AudioTrackInterface>)nativeAudioTrack { 62 - (rtc::scoped_refptr<webrtc::AudioTrackInterface>)nativeAudioTrack {
63 return static_cast<webrtc::AudioTrackInterface *>(self.nativeTrack.get()); 63 return static_cast<webrtc::AudioTrackInterface *>(self.nativeTrack.get());
64 } 64 }
65 65
66 @end 66 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698