Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Issue: AudioEndpointVolumeCallback causes AccessViolation [16360]

$
0
0
I noticed that once I read some values from an AudioEndpointVolume, my application would crash when I changed the volume manually afterwards. After some searching, I traced the problem to AudioEndpointVolumeCallback where OnNotify gets called when the volume changes.

In this method Marshal.PtrToStructure is used, which causes an access violation, causing the crash.

I'm running Win7 x64 and the latest Naudio (b3a412ad55a8)
Comments: thanks, I've checked in your change. If possible could you build the latest NAudio code and try it out?

Viewing all articles
Browse latest Browse all 738

Trending Articles



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