Releases: h4yn0nnym0u5e/cores
Minor updates, Teensyduino 1.58 compatible
Not much changed, but this pulls in all the TD1.58 cores stuff so you should just be able to switch back and forth
Further fixes for invalid inputQueue
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...
Teensy 3 support
First semi-official version with Teensy 3 support.
First go at Teensy 3.x compatibility
First go at Teensy 3.x compatibility, not much testing done though! Full dynamic capability with OSCAudio support seems to require Teensy 3.5 or 3.6, based on code size alone.
v0.6-alpha: Prevent crash if passed a NULL pointer for inputQueue
Prevents a crash if a NULL pointer is passed for the audio block inputQueue value. Previously not a problem, but with the new dynamic-sized mixer this could potentially occur as the space is malloc()ed rather than being part of the class definition.
Fix problems with deleting objects and connections
Had some serious problems with deleting all but the simplest topologies, e.g. deleting a 4-input mixer with all inputs connected and output connected to more than one destination. Seems a lot better now!
Bugfixes
Yes, there should have been a v0.3-alpha...
- Make AudioStream object destruction more stable
- Prevent update owner from being moved off update list if it's disconnected
- Prevent release() of audio blocks that aren't from the pool
- Catch attempt to (re-)connect to NULL AudioStream object
- Fix problem with some connection sequences not setting objects active
- Don't block at startup if the serial port is not connected, unless we've enabled debug output
- Make transmit() immune to NULL block pointer (@markt)
- Fix incorrect guards on out-of-pool audio blocks
Allow objects not in the main update list to execute
Previous versions did not execute objects which were unconnected, or were connected only to objects not in the main "update list". This is inconsistent with the original Audio library, and could cause unexpected results.
Note that documentation for this release is in Audio/features/dynamic-updates v0.2-alpha: both should be updated together. This release is roughly in sync with Teensyduino 1.55 beta #3.
Bugfix and minor feature update
- fixes compile-time warning about uninitialised variable; this would have been a bug if the code was reachable, which it might not have been, but it's fixed now anyway
- incorporates the new Teensy CrashReport if debug printing is enabled; this has to be done within the AudioStream constructor in order to catch crashes that happen before setup() is called
First public release
Only changes are to the Audio core, to implement dynamic creation and destruction of objects at run-time. REQUIRES the use of an updated Audio library, please see https://github.com/h4yn0nnym0u5e/Audio/tree/features/dynamic-updates for this.