I am using an API function in a plug-in that requires a float ** of samples as a parameter. After the function does it’s thing I place the processed data into an AudioBuffer using the constructor with dataToReferTo
This works fine until I add a second instance of the plug-in in a daw (Pro Tools specifically), and share the input bus - resulting in weird clicks.
I have determined it’s probably the c-style 2D array made using pointers that is causing this.
Assuming that is the issue, can someone suggest a different way to to pass the data so that it is accepted in float ** format by the api function? Thanks!