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

New Post: Possible fix to WaveformPainter? when resizing...

$
0
0

More info on what happened...(I am using your latest sources "e43c857bbbe2").

First, I was not using the "OnResize" event of my main window. So I was never "manually" calling waveformPainter.Invalidate().  I noticed by adding a call to waveformPainter.Invalidate(), in my OnWindowResize function, now the app will not have the crash as mentioned above without the fix applied. But some visual weirdness happens. After applying the fix above, the visual weirdness doesn't happen.

I'll try to throw a sample project together along with a video so show the problems I'm generating...will update this post in an hour or so ;)


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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