IS there anyway to tell if there is a sound card in a users PC? I need to know so I can either allow or disallow the option of playing .wav and .mp3

Thanks