You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.8 Reported for operating system, platform: Other, Other
Comments on the original bug report:
On 2018-05-26 14:16:02 +0000, wrote:
Created attachment 3250
emscripten-audit-assert.patch
This assertion triggers on device opening:
/* if your target really doesn't need it, set it to 0x1 or something. /
/ otherwise, close_audio_device() won't call impl.CloseDevice(). */
SDL_assert(device->hidden != NULL);
This field was left at NULL following a clean-up:
/* Initialize all variables that we clean on shutdown /
#if 0 / !!! FIXME: currently not used. Can we move some stuff off the SDL2 namespace? --ryan. */
this->hidden = (struct SDL_PrivateAudioData *)
The attached patch initializes the field to 0x1 as suggested.
No more assertion popup on startup :)
On 2018-06-29 10:15:44 +0000, wrote:
The patch also makes SDL2 properly unregister the Emscripten audio hooks when closing audio.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.8
Reported for operating system, platform: Other, Other
Comments on the original bug report:
On 2018-05-26 14:16:02 +0000, wrote:
On 2018-06-29 10:15:44 +0000, wrote:
On 2018-11-18 14:36:21 +0000, wrote:
The text was updated successfully, but these errors were encountered: