commit | 2de156d15fceed4c834cb0e1dfdd1bcd0f94f4cf | [log] [tgz] |
---|---|---|
author | Michael Chan <mzchan@dolby.com> | Tue Apr 24 14:33:57 2018 +1000 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Dec 06 14:41:03 2018 -0800 |
tree | 23a7b9a20c4cab709948c31ca9bbb84c7cf2dce7 | |
parent | efd355c1c355ba237204c0a8bce10355382a64cd [diff] |
Add AudioTrack.isDirectPlaybackSupported method The method checks whether the provided AudioFormat can be played via currently connected output devices w/o SRC or downmixing by the framework. Bug: 120044865 Test: atest CtsMediaTestCases:AudioTrackTest#testIsDirectPlaybackSupported Change-Id: I63e8334a60d48c17999f500d87360f9c71185dfb