I need to use a bunch of small audio samples throughout my app and would like some kind of mechanism (class) to keep it efficient. I started thinking that it would be great if there was something similar to the way JUCE works with image data…
Image logo = ImageCache::getFromMemory(BinaryData::logo_png, BinaryData::logo_pngSize);
AudioSample beep = SampleCache::getFromMemory(BinaryData::beep_wav, BinaryData::beep_wavSize);
Is there any way to do something like that?