Open
Description
I keep getting this Exception every time I run the code block, the sound plays through for a second before getting cut off by the exception.
I'm running on Visual Studio Community 2019.
I went through the debugger and it seems that m_nBlockFree loses it's value or becomes garbage when waveOutProcWrap is called. And when waveOutProc is called and it reaches the m_nBlockFree++; line , the atomic exception handler for the overloaded operator++ is thrown, stating: Exception thrown at 0x00007FF785B2B8DD in Synth.exe: 0xC0000005: Access violation writing location 0x00000000BA2FF8EC.
Metadata
Metadata
Assignees
Labels
No labels