Skip to content

Further fixes for invalid inputQueue

Pre-release
Pre-release
Compare
Choose a tag to compare
@h4yn0nnym0u5e h4yn0nnym0u5e released this 06 Feb 16:01
· 186 commits to feature/Audio/dynamic-updates since this release

Improved stability with AudioMixer and AudioMixerStereo variable-sized mixers.

Hadn't spotted an invalid use of the AudioStream base class's copy of inputQueue[] during derived class's destruction and associated AudioConnection housekeeping. The inputQueue[] is technically gone by this time, though it was highly likely the freed memory wasn't yet in use so the (pointless) attempt to release any used audio blocks happened to work. However, with the AudioMixerStereo class having its inputQueue[] also in heap, things didn't work so well...