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
This would make using zaudio as a submodule much easier for me as I wouldn't have to wrap zaudio.init with my own global init. I could instead have my data structures maintain their own zaudio.Engine that they allocate with whatever arbitrary allocator they're passed. I think this could be as simple as something like(though for a lot of s_mem calls):
I can start a PR if you'd be open to this. I understand it would be more burdensome with certain functions like zaudioWaveformCreate that don't directly take an allocator already.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
This would make using
zaudio
as a submodule much easier for me as I wouldn't have to wrapzaudio.init
with my own globalinit
. I could instead have my data structures maintain their own zaudio.Engine that they allocate with whatever arbitrary allocator they're passed. I think this could be as simple as something like(though for a lot ofs_mem
calls):I can start a PR if you'd be open to this. I understand it would be more burdensome with certain functions like
zaudioWaveformCreate
that don't directly take an allocator already.The text was updated successfully, but these errors were encountered: