commit | cc36da272240d268ab956b5d260359fc7497b2b1 | [log] [tgz] |
---|---|---|
author | Yuwei Huang <yuweih@chromium.org> | Thu Aug 30 01:40:04 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 30 01:40:04 2018 |
tree | 57721bc075fd3108b66eafdf625c2f387a4dcf69 | |
parent | 079890c44ae626addbd04f13975dc117b93d00b0 [diff] |
[CRD iOS] Change audio session category to Ambient AVAudioSessionCategoryAmbient works basically like AVAudioSessionCategoryPlayback+AVAudioSessionCategoryOptionMixWithOthers, except that it allows the audio to be muted by the silent switch. This a more proper category to use because the app can still work with no sound. Only apps like music player that requires audio playback when silent switch is on should use the AVAudioSessionCategoryPlayback category. Bug: 868088 Change-Id: I56163a221d878f67363aa8cff7a0151e9602e1c1 Reviewed-on: https://chromium-review.googlesource.com/1196020 Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Commit-Queue: Yuwei Huang <yuweih@chromium.org> Cr-Commit-Position: refs/heads/master@{#587393}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .