Closed lamelizard closed 6 years ago
That is entirely possible. I didn't make the xaudio2 backend, so I don't really know what's going on with it. If you can debug what's going on, pull requests are welcome.
On Fri, Oct 26, 2018 at 8:51 PM lamelizard notifications@github.com wrote:
Peace, in soloud_xaudio.cpp during deinit it calls data->xaudio2->StopEngine(); which calls OnBufferEnd which calls SetEvent(mBufferEndEvent);. This throws 0xC0000008: An invalid handle was specified. Indeed, mBufferEndEvent was closed several lines before data->xaudio2->StopEngine();. Shouldn't it be closed later or am I the only one with this issue? (Windows 10 x64 but compiling for x86 using MSVC)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jarikomppa/soloud/issues/186, or mute the thread https://github.com/notifications/unsubscribe-auth/AEQ_R8-8UsZyTWoimX7_QPZaqHnlNX9eks5uo0u_gaJpZM4X8sNi .
Peace, in
soloud_xaudio.cpp
during deinit it callsdata->xaudio2->StopEngine();
which callsOnBufferEnd
which callsSetEvent(mBufferEndEvent);
. This throws0xC0000008: An invalid handle was specified
. Indeed,mBufferEndEvent
was closed several lines beforedata->xaudio2->StopEngine();
. Shouldn't it be closed later or am I the only one with this issue? (Windows 10 x64 but compiling for x86 using MSVC)