Closed Nejrup closed 11 months ago
Probably. I would just have the ofSoundBuffer versions call the current audioReceived version. No need to replicate the stuff inside.
Dan Wilcox danomatika.com robotcowboy.com
On Jan 19, 2023, at 12:31 PM, Nejrup @.***> wrote:
Should pd.audioIn work with (ofSoundBuffer& buffer) instead of the deprecated (float * input, int bufferSize, int nChannels) ?
& audioReceived(float * input, int bufferSize, int nChannels) be replaced replaced with audioIn(ofSoundBuffer& buffer) in the examples (+ audioRequested -> audioOut) ?
Thanks for the great work btw!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
ofSoundBuffer support is now added in the latest commits. I prefer to keep the original implementations with the raw buffer as a lower level option and not to break old projects.
Should pd.audioIn work with
(ofSoundBuffer& buffer)
instead of the deprecated(float * input, int bufferSize, int nChannels)
?&
audioReceived(float * input, int bufferSize, int nChannels)
be replaced replaced withaudioIn(ofSoundBuffer& buffer)
in the examples (+audioRequested
->audioOut
) ?Thanks for the great work btw!