mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioIODeviceCallback, AudioBuffer, AudioFormatReader: Use const T* const* for multi-channel data
This commit is contained in:
parent
37d57810f2
commit
f075de78fa
44 changed files with 150 additions and 92 deletions
|
|
@ -62,7 +62,7 @@ class ConvolutionTest : public UnitTest
|
|||
AudioBuffer<float> result (2, length);
|
||||
result.clear();
|
||||
|
||||
auto** channels = result.getArrayOfWritePointers();
|
||||
auto* const* channels = result.getArrayOfWritePointers();
|
||||
std::for_each (channels, channels + result.getNumChannels(), [length] (auto* channel)
|
||||
{
|
||||
std::fill (channel, channel + length, 1.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue