Hi, I would like to play mp3 file using NAudio. I have tried to use MP3FileReader to open MP3 file stream. But after opening the file, it gave me the error of "AcmNotPossible calling acmStreamOpen".
This is my code to open the stream of MP3.
private WaveStream CreateInputStream(string fileName)
WaveStream mp3Reader = new Mp3FileReader(fileName);
inputStream = new WaveChannel32(mp3Reader);
throw new InvalidOperationException("Unsupported extension");
volumeStream = inputStream;