commit | 18a79124503d4aa07ba3f81d467fa65dfbc12d51 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Wed Nov 04 16:30:05 2020 +0530 |
committer | Eric Laurent <elaurent@google.com> | Thu Feb 04 20:26:10 2021 +0100 |
tree | 82ba43693b81cd229dc22d21023f5d44a99876bf | |
parent | b3ce44820908fd4d095e3eb9657c60f508bad4b3 [diff] |
nuplayer: handle setPlaybackSettings on direct tracks. setPlaybackSettings (playback rate) is not supported on an AudioSink opened with DIRECT flag. Query the sink for the flags it was opened with and restart audio when setPlaybackSettings gets called on an AudioSink which was opened with DIRECT flag for unsupported playback rates. Bug: 111196161 Test: manual audio smoke tests. Change-Id: Ibfeb9ae32ccece003ebc48201ea5d9eeba3fad6e