OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2016 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 |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 - (void)audioSessionDidEndInterruption:(RTCAudioSession *)session | 26 - (void)audioSessionDidEndInterruption:(RTCAudioSession *)session |
27 shouldResumeSession:(BOOL)shouldResumeSession { | 27 shouldResumeSession:(BOOL)shouldResumeSession { |
28 } | 28 } |
29 | 29 |
30 - (void)audioSessionDidChangeRoute:(RTCAudioSession *)session | 30 - (void)audioSessionDidChangeRoute:(RTCAudioSession *)session |
31 reason:(AVAudioSessionRouteChangeReason)reason | 31 reason:(AVAudioSessionRouteChangeReason)reason |
32 previousRoute:(AVAudioSessionRouteDescription *)previousRoute { | 32 previousRoute:(AVAudioSessionRouteDescription *)previousRoute { |
33 } | 33 } |
34 | 34 |
35 - (void)audioSessionMediaServicesWereLost:(RTCAudioSession *)session { | 35 - (void)audioSessionMediaServerTerminated:(RTCAudioSession *)session { |
36 } | 36 } |
37 | 37 |
38 - (void)audioSessionMediaServicesWereReset:(RTCAudioSession *)session { | 38 - (void)audioSessionMediaServerReset:(RTCAudioSession *)session { |
39 } | 39 } |
40 | 40 |
41 - (void)audioSessionShouldConfigure:(RTCAudioSession *)session { | 41 - (void)audioSessionShouldConfigure:(RTCAudioSession *)session { |
42 } | 42 } |
43 | 43 |
44 - (void)audioSessionShouldUnconfigure:(RTCAudioSession *)session { | 44 - (void)audioSessionShouldUnconfigure:(RTCAudioSession *)session { |
45 } | 45 } |
46 | 46 |
47 @end | 47 @end |
48 | 48 |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 RTCAudioSessionTest *test = [[RTCAudioSessionTest alloc] init]; | 209 RTCAudioSessionTest *test = [[RTCAudioSessionTest alloc] init]; |
210 [test testZeroingWeakDelegate]; | 210 [test testZeroingWeakDelegate]; |
211 } | 211 } |
212 | 212 |
213 TEST_F(AudioSessionTest, RemoveDelegateOnDealloc) { | 213 TEST_F(AudioSessionTest, RemoveDelegateOnDealloc) { |
214 RTCAudioSessionTest *test = [[RTCAudioSessionTest alloc] init]; | 214 RTCAudioSessionTest *test = [[RTCAudioSessionTest alloc] init]; |
215 [test testRemoveDelegateOnDealloc]; | 215 [test testRemoveDelegateOnDealloc]; |
216 } | 216 } |
217 | 217 |
218 } // namespace webrtc | 218 } // namespace webrtc |
OLD | NEW |