libDaisy Audio Callback type change

Hey everyone, just wanted to make a general announcement for a libDaisy change that will more-or-less have an effect on anyone keeping up to date with libDaisy.

We’ve changed the input/output types for the callback to be much more clear. Essentially:

void Callback(float** in, float**out, size_t size)

will become:

void Callback(AudioHandle::InputBuffer, AudioHandle::OutputBuffer, size_t size)

Interleaving types in the form of AudioHandle::InterleavingInputBuffer and AudioHandle::InterleavingOutputBuffer exist as well.

This will be one of the last few API changes before we mark a v0.1, and proceed to manage a changelog for further changes.

2 Likes