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

Created 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)

Viewing all articles
Browse latest Browse all 738

Trending Articles



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