mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 08:14:04 +02:00
58166e2267
Custom backends must now use the `ma_device_backend_vtable` object to define their callbacks. All of these functions are largely the same, except they all now take a `void*` as their first parameter which represents the user data pointer. The ma_backend_callbacks parameter has been removed from onContextInit which means you must now statically define your callbacks in the ma_device_backend_vtable object that you pass into the context config. The `custom` member of the context config has been replaced with a new set of members to support the ability to plug in multiple vtables.