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

Side by Side Diff: webrtc/modules/audio_device/ios/audio_session_observer.h

Issue 1945563003: Provide isAudioEnabled flag to control audio unit. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix some bluetooth issue. Created 4 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 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 10 matching lines...) Expand all
21 public: 21 public:
22 // Called when audio session interruption begins. 22 // Called when audio session interruption begins.
23 virtual void OnInterruptionBegin() = 0; 23 virtual void OnInterruptionBegin() = 0;
24 24
25 // Called when audio session interruption ends. 25 // Called when audio session interruption ends.
26 virtual void OnInterruptionEnd() = 0; 26 virtual void OnInterruptionEnd() = 0;
27 27
28 // Called when audio route changes. 28 // Called when audio route changes.
29 virtual void OnValidRouteChange() = 0; 29 virtual void OnValidRouteChange() = 0;
30 30
31 // Called when audio session has been configured for WebRTC. 31 // Called when the ability to play or record changes.
32 virtual void OnConfiguredForWebRTC() = 0; 32 virtual void OnCanPlayOrRecordChange(bool can_play_or_record) = 0;
33 33
34 protected: 34 protected:
35 virtual ~AudioSessionObserver() {} 35 virtual ~AudioSessionObserver() {}
36 }; 36 };
37 37
38 } // namespace webrtc 38 } // namespace webrtc
39 39
40 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_ 40 #endif // WEBRTC_MODULES_AUDIO_DEVICE_IOS_AUDIO_SESSION_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698