Skip to content

Is it possible to use init_file/init_file_w with resource manager? #695

Answered by mackron
bjorn-nesby asked this question in Q&A
Discussion options

You must be logged in to vote

I had a look at the code and you're absolutely correct. Those onInitFile/W callbacks are not being used at all (neither is onInitMemory). I'll have to have a look at that, because certainly the whole point of those callbacks even existing in ma_decoding_backend_vtable was to give custom decoders an opportunity to do an optimized implementation for those scenarios. I think this was an oversight on my part.

I'll convert this to an issue so I don't forget about it.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mackron
Comment options

@bjorn-nesby
Comment options

@mackron
Comment options

Answer selected by bjorn-nesby
@bjorn-nesby
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants