agm: protect metadata_free with dev obj lock

In open and close of different streams on the same BE Meta data mixer
controls(beMetaDataMixerCtrl), Which is leading to double free/race condition
on the same device obj metadata in agm_aif_set_metadata.So to avoid such
conditions protect it with dev lock

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

agm

Audio Graph Manager