OneLoneCoder / olcSoundWaveEngine

A single file, easy to use, audio playback and synthesis framework
94 stars 19 forks source link

Add loading of waveforms via std::istream #1

Open OneLoneCoder opened 2 years ago

OneLoneCoder commented 2 years ago

Add functionality to populate a olc::sound::Wave_generic via LoadAudioWaveform() that sources data form a supplied std::istream. The intention here is to load audio from olc::ResourcePacks, but perhaps other stream sources,maybe compressed ones.