-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overload AudioFile::load to accept a memory load #39
Comments
Hi there, can you explain a little more - do you mean that you have already got the contents of a file in memory somewhere and you just want to decode it to a WAV? So you just need to point to the file data? |
Well, yes, I did it here, it was useful for resource unpackaging I made for my engine. It was a very small change, now I don't think I should have created an issue for this, so I'll leave this just as a suggestion |
I had a think about this - I think it is an easy change so why not do it. Perhaps the method could be |
I've just added this on |
It would be very helpful for directly loading decrypted .wav files. I noted it is almost done with AudioFile::decodeWaveFile, but it is a private method, so maybe an overloaded option of AudioFile::load would be great, accepting
(void* data, size_t size)
orstd::vector<uint8_t>
Thanks for this awesome library
The text was updated successfully, but these errors were encountered: