Ability to load audio samples directly into a bs::HAudioClip


Hello there,
Is it possible to load/import audio samples directly without a path? I’m asking because I want to be able to encrypt/decrypt sounds and music and such and decrypt them without saving them to disk and then loading them that way.


Yes, AudioClip::create accepts a data stream, which may be a file stream or a memory stream.