While I am trying to convert mp3 to pcm format using DirectX Media Objects(using DmoMp3FrameDecompressor method), I am getting an error "arithmetic operation resulted in an overflow" in NAudio. Since there is no support for ACM on 64 bit windows server 2012, I have opted directx media object. Is there any way to overcome this issue.
NAudio.Wave.Mp3FileReader reader = new NAudio.Wave.Mp3FileReader(ms, wf => new NAudio.FileFormats.Mp3.DmoMp3FrameDecompressor(wf)); // AcmMp3FrameDecompressor(wf))
NAudio.Wave.WaveChannel32 channelStream = new NAudio.Wave.WaveChannel32(reader);