agm: aquire a lock before updating metadata for dev_obj

the metadata of dev_obj will be briefly clear to 0 when open
device and set metadata, so it may cause null pointer issue when
one stream starts and updates metadata but another stream with same
device opens and sets metadata at same time.

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

agm

Audio Graph Manager