Browse Source

AudioBlock: Remove unnecessary casts

v6.1.6
reuk 4 years ago
parent
commit
1cd5abe489
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_dsp/containers/juce_AudioBlock.h

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

@@ -548,9 +548,9 @@ public:
const AudioBlock& operator*= (AudioBlock src) const noexcept { return multiplyBy (src); }
template <typename OtherSampleType, typename SmoothingType>
AudioBlock& operator*= (SmoothedValue<OtherSampleType, SmoothingType>& value) noexcept { return multiplyBy ((NumericType) value); }
AudioBlock& operator*= (SmoothedValue<OtherSampleType, SmoothingType>& value) noexcept { return multiplyBy (value); }
template <typename OtherSampleType, typename SmoothingType>
const AudioBlock& operator*= (SmoothedValue<OtherSampleType, SmoothingType>& value) const noexcept { return multiplyBy ((NumericType) value); }
const AudioBlock& operator*= (SmoothedValue<OtherSampleType, SmoothingType>& value) const noexcept { return multiplyBy (value); }
//==============================================================================
// This class can only be used with floating point types


Loading…
Cancel
Save