Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Resample problem

$
0
0

If I use

WaveFormat waveFormat = new WaveFormat(44100, 2); 
mixer = new MixingSampleProvider(waveFormat);

everything is ok with the WaveFormatConversionStream. But then I'm trying to save mixed song to the disk like this

WaveFileWriter.CreateWaveFile(mixedSong, new SampleToWaveProvider(mixer));

I recieve error: "Must be already floating point".


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>