Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4ba65882 authored by Zhou Song's avatar Zhou Song
Browse files

hal: add new case when derive sound device

This adds a new use case which handle issue below:
  1. playback1 is active on device_1 with beckend_1
  2. playback2 comes with combo device_11(related
     device) with backend_1 and device_2 with beckend_2
  3. as device_11 and device_2 are not backend matched,
     this can lead device1 + device_11 + device_2 to be
     active at the same time
  4. later, when playback1 is disabled, then disabling
     device_1 will also disable backend_1, which makes
     playback2 on device_11 breaks

To resolve it, need to return with device_11 to make
sure device_1 is disabled and then enable device_11 for
both playback1 and playback2.

Change-Id: I963318fa2872e889286e54d765d348c313695486
parent d8c2eeb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment