MPlatform SDK

It returns you a string that contains all the available audio devices divided by commas. For example, "Primary Sound Driver, Speakers (Cirrus Logic CS4206B (AB 40)), Digital Audio (S/PDIF) (Cirrus Logic CS4206B (AB 40))". You should parse the string split by commas and then choose the required device: