Closed GoogleCodeExporter closed 8 years ago
First, the WMA code moved into NAudio. I suggest using the latest version of
NAudio (currently 1.5.4), not the source code in PracticeSharp. NAudio now has
my original code embedded into it.
Secondly, could you please post a small test console application that
replicates your problem and an audio file that triggers that error?
And lastly, looking at the code and your stack trace, it seems the actual issue
comes from IWMSyncReader.SetRange(),not from WaveStream.Skip().
The MSDN page for SetRange specifies this requirement:
"Version - Windows Media Format 9 Series SDK, or later"
http://msdn.microsoft.com/en-us/library/windows/desktop/dd798704(v=VS.85).aspx
I wonder what Windows Media version in installed on your operating system
(which Widnows is it?)?
Original comment by yuva...@gmail.com
on 22 Dec 2011 at 3:54
No feedback from user.
Issue is probably due to and old Windows Media version/old operating system.
To ensure full playback of WMA, please make sure Media Player 9 or above is
installed.
If you're not sure what version you have, please follow the Microsoft KB 190990.
http://support.microsoft.com/kb/190990
1. Note that this issue only affects WMA - other file formats are not using the
Windows Media API.
2. (Even though I wrote the original WMA playback code) It is a problem with
NAudio, but affects Practice#. All other clients applications using NAudio
should experience a similar problem. I will report it to NAudio's author,
perhaps a Media Player version check is needed.
Original comment by yuva...@gmail.com
on 28 Dec 2011 at 1:39
Original issue reported on code.google.com by
mccords...@gmail.com
on 8 Dec 2011 at 9:56