AGM: remove all aif_obj from aif_pool after close a session

After close a session, removing all aif_obj from the session's
aif_pool in sess_obj. This prevents a potential race condition
which a dev_obj that's added by a previously closed session to
be used in a different use case's new session. This issue can
cause failure in session_apply_aif_device_params for graph set
config when speaker protection is enabled.

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

agm

Audio Graph Manager