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.
Change-Id: I0e4989d941e77a3b50157cbce43e4c1975c4d8e8
Merged-In: I0e4989d941e77a3b50157cbce43e4c1975c4d8e8
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
Loading
Please register or sign in to comment