我正在尝试使用以下方式加载和播放wav
文件:
Dim MyPlayer As New SoundPlayer()
MyPlayer.SoundLocation = "http://api.smartercall.in/storage/" & ds.Tables(0).Rows(0).Item("FileName").ToString()
MyPlayer.Play()
托管此代码后出现以下错误
System.Media.SoundPlayer.ValidateSoundData(Byte[] data)
at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)
at SmartCall.staff_campaign.btnplay_Click(Object sender, EventArgs e)