If   your   application   is   simply   going   to   play   sounds   through   the   user's   preferred   playback   device,   there   is   no   need   to   enumerate   the   available   devices.   When   you   create   the   device   object   by   calling   the   DirectSoundCreate8   function,   you   can   specify   a   default   device.   For   more   information,   see   Creating   the   Device   Object.