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

Unified Diff: webrtc/modules/audio_device/ios/objc/RTCAudioSession.h

Issue 2895263006: Add observer for AVAudioSession.outputVolume (Closed)
Patch Set: Add observer on AVAudioSession outputVolume. 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_device/ios/objc/RTCAudioSession.h
diff --git a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h
index 155929cfc7d6fd1735cdb364b3cd8fe9710c36bb..56c10c0bb1f22dacaf8f547b7f165e830d7e34a5 100644
--- a/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h
+++ b/webrtc/modules/audio_device/ios/objc/RTCAudioSession.h
@@ -74,6 +74,9 @@ RTC_EXPORT
*/
- (void)audioSessionDidStopPlayOrRecord:(RTCAudioSession *)session;
+/** Called when the AVAudioSession output volume value changes. */
+- (void)audioVolumeDidChange:(float)volume;
tkchin_webrtc 2017/05/25 20:24:32 follow delegate naming convention and use the same
+
@end
/** This is a protocol used to inform RTCAudioSession when the audio session

Powered by Google App Engine
This is Rietveld 408576698