agm: close graph if ec ref fails to set in session_obj_open

EC ref may be set in session open if ec is set before graph
open. In this case, if EC ref set fails, Tx graph will be
opened but in PAL side it is treated as open failure hence
Tx graph will never be released.

Close graph if ec ref fails to set after success graph open
in session_obj_open.

Change-Id: I79517f6ee282972de1f19116d1527a495cd48c9e
1 file changed
tree: 61c09a615321029447bcfeafed42d21c59d33393
  1. ipc/
  2. plugins/
  3. service/
  4. snd_parser/
  5. Android.mk
  6. NOTICE
  7. README.md
README.md

agm

Audio Graph Manager