Selects the card id on platforms with multiple cards.

On some platforms, there are more than one sound cards. And the default one is
not with index: 0. So, we need a way to figure out the correct card id we
should used.

TEST=run the test on butterfly

Change-Id: I990c711c1e9fd4616797ad598687c80cb6e7eba8
Reviewed-by: Dylan Reid <>
Commit-Queue: Owen Lin <>
Tested-by: Owen Lin <>
2 files changed