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

Commented Issue: WaveFileReader.TryReadFloat does not consider channel count [14798]

$
0
0
Hi,
in WaveFileReader.TryReadFloat data is read by Read(value, 0, x), with x, for example, =2 for 16 bits per sample.
However, if the wav file is multichannel, say 6 channels, each sample has 12 bytes. So the Read method throws an exception "Must read complete blocks".
Comments: I am having the same problem. Is this fix? Did you find a solution to this?

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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