[Solved!]AudioSampleBuffer to Float*

windows

#1

Hello,I am a beginner who has been using Juce for about a month.
Reverb functions supported by Juce require a Float * format. But processBlock uses the format AudioSampleBuffer &.
How to replace AudioSampleBuffer & Type with Float *?
Or I need another way to solve this problem,

thank you


#2

Use the getWritePointer() method.


#3

Is it possible to read a Pointer obtained with the getWritePointer () function as well as write it?


#4

getWritePointer() returns a pointer to the samples in the buffer than can both be written to and read from


#5

thanks a lot!
the problem is solved! :blush: