Use RTCAudioSessionDelegateAdapter in AudioDeviceIOS.

Part 3 of refactor. Also:
- better weak pointer delegate storage + tests
- we now ignore route changes when we're interrupted
- fixed bug where preferred sample rate wasn't set if audio session
   wasn't active

BUG=

Review URL: https://codereview.webrtc.org/1796983004

Cr-Commit-Position: refs/heads/master@{#12007}
This commit is contained in:
tkchin
2016-03-15 16:54:03 -07:00
committed by Commit bot
parent 4557d3333d
commit e54467f73e
15 changed files with 499 additions and 193 deletions

View File

@ -58,6 +58,7 @@
</array>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
<string>voip</string>
</array>
<key>UILaunchImages</key>