mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-29 19:54:05 +02:00
d7802c3b14
This removes the onInitFile and onInitFileW callbacks from ma_decoding_backend_vtable. This means decoding backends can no longer implement a specialized initialization routine for loading from a file. What this does is enforces all file IO to go through the same code path, that being the `ma_decoder` and `ma_vfs` infrastructure. It also simplifies the backend vtable. The ability to initialize from memory (the onInitMemory callback) is still available and there are not plans to remove this.