snd-card-parser: avoid virtual card info returned improperly

When getting card info with hw card(0), virtual card info may
be returned unexpectedly, causing ref count goes to bad state
for virtual card info.

Set card_def to NULL if no matching card info found in card
list.

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

agm

Audio Graph Manager