Browse Source

Fixed some Doxygen warnings in AudioBlock and SIMDRegister

tags/2021-05-28
Noah Dayan 7 years ago
parent
commit
5de929de5e
2 changed files with 4 additions and 2 deletions
  1. +2
    -2
      modules/juce_dsp/containers/juce_AudioBlock.h
  2. +2
    -0
      modules/juce_dsp/containers/juce_SIMDRegister_Impl.h

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

@@ -265,7 +265,7 @@ public:
All indices and sizes are in the receiver's units, i.e. if SampleType is a
SIMDRegister then incrementing srcPos by one will increase the sample position
in the AudioBuffer's units by a factor of SIMDRegister::\<SampleType\>::SIMDNumElements.
in the AudioBuffer's units by a factor of SIMDRegister<SampleType>::SIMDNumElements.
*/
forcedinline AudioBlock& copyFrom (const AudioBuffer<NumericType>& src, size_t srcPos = 0, size_t dstPos = 0,
size_t numElements = std::numeric_limits<size_t>::max())
@@ -287,7 +287,7 @@ public:
All indices and sizes are in the receiver's units, i.e. if SampleType is a
SIMDRegister then incrementing dstPos by one will increase the sample position
in the AudioBuffer's units by a factor of SIMDRegister::\<SampleType\>::SIMDNumElements.
in the AudioBuffer's units by a factor of SIMDRegister<SampleType>::SIMDNumElements.
*/
forcedinline const AudioBlock& copyTo (AudioBuffer<NumericType>& dst, size_t srcPos = 0, size_t dstPos = 0,
size_t numElements = std::numeric_limits<size_t>::max()) const


+ 2
- 0
modules/juce_dsp/containers/juce_SIMDRegister_Impl.h View File

@@ -45,6 +45,7 @@ private:
size_t idx;
};
#ifndef DOXYGEN
//==============================================================================
/* This class is used internally by SIMDRegister to abstract away differences
in operations which are different for complex and pure floating point types. */
@@ -157,6 +158,7 @@ struct CmplxSIMDOps<std::complex<Scalar>>
return SIMDNativeOps<Scalar>::add (a, SIMDNativeOps<Scalar>::cmplxmul (b, c));
}
};
#endif
//==============================================================================
namespace util


Loading…
Cancel
Save