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

Side by Side Diff: webrtc/modules/audio_device/ios/objc/RTCAudioSession.h

Issue 2679913002: Remove use of selectors matching Apple private API names. (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « no previous file | webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 /** Called on a system notification thread when AVAudioSession changes the 45 /** Called on a system notification thread when AVAudioSession changes the
46 * route. 46 * route.
47 */ 47 */
48 - (void)audioSessionDidChangeRoute:(RTCAudioSession *)session 48 - (void)audioSessionDidChangeRoute:(RTCAudioSession *)session
49 reason:(AVAudioSessionRouteChangeReason)reason 49 reason:(AVAudioSessionRouteChangeReason)reason
50 previousRoute:(AVAudioSessionRouteDescription *)previousRoute; 50 previousRoute:(AVAudioSessionRouteDescription *)previousRoute;
51 51
52 /** Called on a system notification thread when AVAudioSession media server 52 /** Called on a system notification thread when AVAudioSession media server
53 * terminates. 53 * terminates.
54 */ 54 */
55 - (void)audioSessionMediaServicesWereLost:(RTCAudioSession *)session; 55 - (void)audioSessionMediaServerTerminated:(RTCAudioSession *)session;
56 56
57 /** Called on a system notification thread when AVAudioSession media server 57 /** Called on a system notification thread when AVAudioSession media server
58 * restarts. 58 * restarts.
59 */ 59 */
60 - (void)audioSessionMediaServicesWereReset:(RTCAudioSession *)session; 60 - (void)audioSessionMediaServerReset:(RTCAudioSession *)session;
61 61
62 // TODO(tkchin): Maybe handle SilenceSecondaryAudioHintNotification. 62 // TODO(tkchin): Maybe handle SilenceSecondaryAudioHintNotification.
63 63
64 - (void)audioSession:(RTCAudioSession *)session 64 - (void)audioSession:(RTCAudioSession *)session
65 didChangeCanPlayOrRecord:(BOOL)canPlayOrRecord; 65 didChangeCanPlayOrRecord:(BOOL)canPlayOrRecord;
66 66
67 /** Called on a WebRTC thread when the audio device is notified to begin 67 /** Called on a WebRTC thread when the audio device is notified to begin
68 * playback or recording. 68 * playback or recording.
69 */ 69 */
70 - (void)audioSessionDidStartPlayOrRecord:(RTCAudioSession *)session; 70 - (void)audioSessionDidStartPlayOrRecord:(RTCAudioSession *)session;
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 /** Convenience method that calls both setConfiguration and setActive. 215 /** Convenience method that calls both setConfiguration and setActive.
216 * |lockForConfiguration| must be called first. 216 * |lockForConfiguration| must be called first.
217 */ 217 */
218 - (BOOL)setConfiguration:(RTCAudioSessionConfiguration *)configuration 218 - (BOOL)setConfiguration:(RTCAudioSessionConfiguration *)configuration
219 active:(BOOL)active 219 active:(BOOL)active
220 error:(NSError **)outError; 220 error:(NSError **)outError;
221 221
222 @end 222 @end
223 223
224 NS_ASSUME_NONNULL_END 224 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_device/ios/objc/RTCAudioSession.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698