Alas, I can’t remember what version it was. 
But I have good news, it still works with OpenFL 8.0.1! There’s just one line that needs to be changed:
We need to change it to this:
if (SoundMixer.__soundChannels.length >= SoundMixer.MAX_ACTIVE_CHANNELS) {
Reason is simple - if we just use the Sound object to listen for a SampleDataEvent, __buffer will be null upon initialization and the events won’t ever get fired.
