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

New Post: failed to play the following sound file in naudiodemo

$
0
0
Wow, didn't realise it had 8 channels. But you are right, it works in VLC which obviously supports 8 channel audio.

The WaveFileReader appears to support many channels but I dont see a static Property for the buffer size in DirectSoundOut.

Instead of using AudioFileReader(), try MediaFoundationReader() and WaveFileReader()



Additionally, if you download the NAudio source and run that demo app through the debugger, you'll be able to spot exactly where it is failing.

Viewing all articles
Browse latest Browse all 5831


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