AudioEffect: prevent adding effect for unknown session on first io
Bug: 309578734 Test: add an effect chain on a music ouput (first) and enable. Add another chain on another output. Ensure chain on music output is not suspended. Adding a chain on a different output may suspend chain on default output First output is assigned when an effect is created, then may be moved once the session is associated to its output. It leads to suspend the chain of first output. This CL fixes this bug by adding effect in orphan chains until track is created. Test: atest CtsMediaAudioTestCases Change-Id: I2ce880dea862df1b29a67893d60a9c98c4c4eb46 Merged-In: I2ce880dea862df1b29a67893d60a9c98c4c4eb46
Loading
Please register or sign in to comment