Hi,
I would like to use NAudio to play a wave file from an URL. Every time I use
Here is the test Wave file I'm trying to play:
http://www.nch.com.au/acm/11k16bitpcm.wav
Thanks for any help.
I would like to use NAudio to play a wave file from an URL. Every time I use
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
HttpWebResponse resp = (HttpWebResponse)webRequest.GetResponse();
var responseStream = resp.GetResponseStream()
WaveStream readerStream = new WaveFileReader(responseStream);
It fails on reading wave header. What am I doing wrong?Here is the test Wave file I'm trying to play:
http://www.nch.com.au/acm/11k16bitpcm.wav
Thanks for any help.