This project has moved and is read-only. For the latest updates, please go here.

MmException when trying to convert a vorbis stream to a pcmStream

Jul 19, 2016 at 8:10 AM
I am trying to convert vorbis to wav and I am getting an exception, with the additional info "NoDriver calling acmFormatSuggest".
var reader = new VorbisWaveReader("song.ogg");
var converter = WaveFormatConversionStream.CreatePcmStream(reader);
var waveOut = new WaveOut();
the CreatePcmStream method throws the exception.
Jul 19, 2016 at 8:27 PM
What is the WaveFormat of VorbisWaveReader?
Jul 19, 2016 at 11:16 PM
IeeeFloat, stereo, 32 bit, 44.1khz

I'm starting to realize that the problem is CreatePcmStream.

I need to get a pcm wavestream from the vorbiswavereader, and it does not have to run in real time in my app (i can load into memory, process, then return a wavestream if necessary)

what are the best options?
Jul 20, 2016 at 8:17 AM
It should already be playable directly. Have you tried just passing the reader directly into WaveOut.Init?