Issues updating a old project


I’m getting the following errors

Cannot initialize a variable of type ‘float *’ with an rvalue of type 'float’
No member named ‘getSampleData’ in 'juce::AudioBuffer’
No member named ‘getSampleData’ in ‘juce::AudioBuffer’


Unless I’m mistaken I think you can just replace getSampleData with getReadPointer.


Thanks getReadPointer() returns const samples, so I used getWritePointer() instead and compiled fine.


Ah yes good point.