Browse Source

DSP: Made AudioBlock::getSubsetChannelBlock const

tags/2021-05-28
Tom Poole 6 years ago
parent
commit
12dfd3df45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_dsp/containers/juce_AudioBlock.h

+ 1
- 1
modules/juce_dsp/containers/juce_AudioBlock.h View File

@@ -243,7 +243,7 @@ public:
@param channelStart First channel of the subset
@param numChannelsToUse Count of channels in the subset
*/
forcedinline AudioBlock getSubsetChannelBlock (size_t channelStart, size_t numChannelsToUse) noexcept
forcedinline AudioBlock getSubsetChannelBlock (size_t channelStart, size_t numChannelsToUse) const noexcept
{
jassert (channelStart < numChannels);
jassert ((channelStart + numChannelsToUse) <= numChannels);


Loading…
Cancel
Save