commit | a94fbb22404ef26d12fbb3ad0376df15f84f47ec | [log] [tgz] |
---|---|---|
author | Michael Chan <mzchan@dolby.com> | Tue Apr 24 14:31:19 2018 +1000 |
committer | Mikhail Naganov <mnaganov@google.com> | Wed Dec 05 15:35:35 2018 -0800 |
tree | b4a8052d5ce8726541ba7a25e3f1f449d351acd9 | |
parent | b079c02b1fa4f1b5c5b6334b93af584797b4454f [diff] |
Implement 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. The implementation methods are called 'isDirectOutputSupported' to match APM's terminology. Bug: 120044865 Test: atest CtsMediaTestCases:AudioTrackTest#testBuilderValidate Change-Id: I11769f796c34583fb2641415d2faab00ac526123