Chromium Code Reviews
DescriptionChanges construction of AudioTrack for API 21 and higher.
If we are on API level 21 or higher, it is possible to use a special AudioTrack
constructor that uses AudioAttributes and AudioFormat as input. It allows us to
supersede the notion of stream types for defining the behavior of audio playback,
and to allow certain platforms or routing policies to use this information for more
refined volume or routing decisions.
BUG=b/30018586
Review-Url: https://codereview.webrtc.org/2804013002
Cr-Commit-Position: refs/heads/master@{#17737}
Committed: https://chromium.googlesource.com/external/webrtc/+/90ee13ce1cede97006ea1fb1ca527a8333604a2a
Patch Set 1 #Patch Set 2 : nit #Messages
Total messages: 10 (6 generated)
|