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

New Post: unhandled exception

$
0
0

i'm playing a wav file from my resources, wouldn't mind playing from a buffer instead since the wav is silent anyway but can't work out how to create a wave in memory. Saw some reference to nullwavestream or something in an naudio post on here but it doesn't seem to exist

i think i fixed the crash anyway - hasn't happened in days. Before i was resetting the stream.position to 0 if it got above 65000 because i thought a variable i was using to record the position might overflow, but it never seems to so i'm just letting it go on forever, so it might have been something to do with that.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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