Greetings,
So currently working on a plugin that simulates radio mic clicks among other things in a more realistic fashion for TS. Now what we want to do is that we want new sounds to override other sounds when they start playing if the previous sound was still running. We have this "working" in a way, but our users keep experiencing unexpected crashing as a result. Originally we thought the issue was due to not pausing the sound handler before closing the handle, and that did alleviate the crashing issue for SOME users. However, for other users the problem persists. I can no longer recreate the crashing on my own system (x64 Windows) with neither x64 TS or x86 TS, but I know of at least one other x64 windows user who has still crashed out from the same issue. I'm not sure what we're doing wrong but any assistance is appreciated
I have included below three log files that show the critical error that is causing this (2 from an x86 user and one from an x64 user), as well as our own log file for our plugin, and below is a screenshot of the code snippet. It doesn't always crash out at the same point, sometimes it will do it quickly and some times it will take a bit.
Function:
https://gyazo.com/d2f41e3969d47bf20b807583e9291f03
In the logfile.txt you will notice a lot of spam, that is from our debug button, it attempts to run the function multiple times to recreate the crashing issue.
The following is the ciritical error from the TS log files:
2019-04-02 20:20:44.522541|CRITICAL|GenericSoundChannel| |Assertion "(m_FillSimpleCallback) || (m_FillComplexCallback)" failed at c:\jenkins\workspace\client\clientwindows\deps\tea mspeak_client_lib\src\sound\genericsoundchannel.cp p:215;