PlaybackRecord: parse 'device' from aplay -l

If a card has multiple devices it wasn't handled correctly. Change
the parsing of the aplay output so that each device gets its own
entry in the table and has a unique index.  Before the list of tests
would contain duplicates of the first device only.

BUG=none
TEST=Run test manually on ZGB.

Change-Id: Ia7a2e19b87cf93ed6308c0c47399340799a1630a
Reviewed-on: http://gerrit.chromium.org/gerrit/3405
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Dylan Reid <dgreid@chromium.org>
1 file changed