audioflinger:Set correct device while creating effects
Change-Id: Id2c96c1f1fe4cdfc2795c86caa050f31f15e7f8d -Issue: Effectmodule is created with stale output device -Rootcause: While creating effects the output device set is output device of mixer thread, which is stale and not updated, so effects use the wrong/old device as the output device and leads to issue such as difference in volume level after setting correct device etc. -Fix: Cache the latest device value for direct track in a flinger member variable when setparameter of flinger is called with new device and audioflinger::openoutput is called. Use this cached value while creating effects CRs-Fixed: 496866
Loading
Please register or sign in to comment