Parent: a79e4238b05bd7f3b0cc8f0da7069d4318fd54b2
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-04-29 15:02:14
Tree: c02cadef6901888f3e421c2e2ddde06df8b9ef27
a2dp: Fix not calling SelectConfiguration on other available endpoints Endpoint may not be able to select a valid configuration but there could be other endpoints available that could be used, so instead of just using the first match this collects all the matching endpoints and put them into a queue (ordered by priority) then proceed to next endpoint only failing if none of the available endpoits can select a valid configuration.
Diffstat
| M | profiles/audio/a2dp.c | | | 77 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 50 insertions(+), 27 deletions(-)