34 template <typename T, bool = std::is_floating_point<T>::value>
43 using Type =
const typename T::value_type;
49 using Type =
typename T::value_type;
68template <
typename SampleType>
72 template <
typename OtherSampleType>
74 std::enable_if_t<std::is_same<std::remove_const_t<SampleType>,
75 std::remove_const_t<OtherSampleType>>
::value
76 && std::is_const<SampleType>::value
77 && ! std::is_const<OtherSampleType>::value,
94 size_t numberOfChannels,
size_t numberOfSamples)
noexcept
106 constexpr AudioBlock (SampleType*
const* channelData,
size_t numberOfChannels,
107 size_t startSampleIndex,
size_t numberOfSamples)
noexcept
121 size_t numberOfChannels,
size_t numberOfSamples,
127 auto channelSize =
sizeof (SampleType) * roundedUpNumSamples;
128 auto channelListBytes =
sizeof (SampleType*) * numberOfChannels;
129 auto extraBytes = alignmentInBytes - 1;
131 heapBlockToUseForAllocation.malloc (channelListBytes + extraBytes + channelSize * numberOfChannels);
142 data += roundedUpNumSamples;
151 template <
typename OtherSampleType>
153 :
channels (buffer.getArrayOfWritePointers()),
155 numSamples (
static_cast<size_t> (buffer.getNumSamples()))
164 template <
typename OtherSampleType>
166 :
channels (buffer.getArrayOfReadPointers()),
168 numSamples (
static_cast<size_t> (buffer.getNumSamples()))
177 template <
typename OtherSampleType>
179 :
channels (buffer.getArrayOfWritePointers()),
182 numSamples (
static_cast<size_t> (buffer.getNumSamples()) - startSampleIndex)
190 template <
typename OtherSampleType, MayUseConvertingConstructor<OtherSampleType> = 0>
193 numChannels { other.numChannels },
194 startSample { other.startSample },
195 numSamples { other.numSamples }
199 template <
typename OtherSampleType, MayUseConvertingConstructor<OtherSampleType> = 0>
209 std::swap (other.channels,
channels);
216 template <
typename OtherSampleType>
222 other.channels + other.numChannels)
227 template <
typename OtherSampleType>
230 return ! (*
this == other);
272 SampleType
getSample (
int channel,
int sampleIndex)
const noexcept
284 void setSample (
int destChannel,
int destSample, SampleType newValue)
const noexcept
296 void addSample (
int destChannel,
int destSample, SampleType valueToAdd)
const noexcept
313 template <
typename OtherSampleType>
315 template <
typename OtherSampleType>
324 template <
typename OtherNumericType>
326 size_t srcPos = 0,
size_t dstPos = 0,
327 size_t numElements = std::numeric_limits<size_t>::max()) {
copyFromInternal (src, srcPos, dstPos, numElements);
return *
this; }
328 template <
typename OtherNumericType>
330 size_t srcPos = 0,
size_t dstPos = 0,
331 size_t numElements = std::numeric_limits<size_t>::max())
const {
copyFromInternal (src, srcPos, dstPos, numElements);
return *
this; }
340 void copyTo (
AudioBuffer<
typename std::remove_const<NumericType>::type>& dst,
size_t srcPos = 0,
size_t dstPos = 0,
341 size_t numElements = std::numeric_limits<size_t>::max())
const
343 auto dstlen =
static_cast<size_t> (dst.getNumSamples()) /
sizeFactor;
345 auto maxChannels =
jmin (
static_cast<size_t> (dst.getNumChannels()),
static_cast<size_t> (
numChannels));
347 for (
size_t ch = 0; ch < maxChannels; ++ch)
348 FloatVectorOperations::copy (dst.getWritePointer ((
int) ch, (
int) (dstPos *
sizeFactor)),
357 size_t numElements = std::numeric_limits<size_t>::max())
noexcept {
moveInternal (srcPos, dstPos, numElements);
return *
this; }
359 size_t numElements = std::numeric_limits<size_t>::max())
const noexcept {
moveInternal (srcPos, dstPos, numElements);
return *
this; }
400 template <
typename OtherSampleType>
402 template <
typename OtherSampleType>
406 template <
typename OtherSampleType>
408 template <
typename OtherSampleType>
412 template <
typename Src1SampleType,
typename Src2SampleType>
414 template <
typename Src1SampleType,
typename Src2SampleType>
423 template <
typename OtherSampleType>
425 template <
typename OtherSampleType>
429 template <
typename OtherSampleType>
431 template <
typename OtherSampleType>
435 template <
typename Src1SampleType,
typename Src2SampleType>
437 template <
typename Src1SampleType,
typename Src2SampleType>
446 template <
typename OtherSampleType>
448 template <
typename OtherSampleType>
452 template <
typename OtherSampleType>
454 template <
typename OtherSampleType>
458 template <
typename Src1SampleType,
typename Src2SampleType>
460 template <
typename Src1SampleType,
typename Src2SampleType>
465 template <
typename OtherSampleType,
typename SmoothingType>
467 template <
typename OtherSampleType,
typename SmoothingType>
471 template <
typename BlockSampleType,
typename SmootherSampleType,
typename SmoothingType>
473 template <
typename BlockSampleType,
typename SmootherSampleType,
typename SmoothingType>
478 template <
typename OtherSampleType>
480 template <
typename OtherSampleType>
484 template <
typename Src1SampleType,
typename Src2SampleType>
486 template <
typename Src1SampleType,
typename Src2SampleType>
495 template <
typename OtherSampleType>
497 template <
typename OtherSampleType>
501 template <
typename OtherSampleType>
503 template <
typename OtherSampleType>
508 template <
typename Src1SampleType,
typename Src2SampleType>
510 template <
typename Src1SampleType,
typename Src2SampleType>
514 template <
typename Src1SampleType,
typename Src2SampleType>
516 template <
typename Src1SampleType,
typename Src2SampleType>
527 auto minmax = FloatVectorOperations::findMinAndMax (
getDataPointer (0),
n);
530 minmax = minmax.getUnionWith (FloatVectorOperations::findMinAndMax (
getDataPointer (ch),
n));
555 template <
typename OtherSampleType,
typename SmoothingType>
557 template <
typename OtherSampleType,
typename SmoothingType>
562 static_assert (std::is_same<std::remove_const_t<SampleType>,
float>
::value
563 || std::is_same<std::remove_const_t<SampleType>,
double>
::value
568 ,
"AudioBlock only supports single or double precision floating point types");
575 template <
typename Src1SampleType,
typename Src2SampleType,
typename FunctionType>
589 for (
size_t i = 0;
i < len; ++
i)
617 template <
typename OtherSampleType>
623 for (
size_t ch = 0; ch < maxChannels; ++ch)
624 FloatVectorOperations::copy (
getDataPointer (ch), src.getDataPointer (ch),
n);
627 template <
typename OtherNumericType>
634 for (
size_t ch = 0; ch < maxChannels; ++ch)
641 size_t numElements = std::numeric_limits<size_t>::max())
const noexcept
661 template <
typename OtherSampleType>
668 FloatVectorOperations::add (
getDataPointer (ch), src.getDataPointer (ch),
n);
671 template <
typename OtherSampleType>
681 template <
typename Src1SampleType,
typename Src2SampleType>
688 FloatVectorOperations::add (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
697 template <
typename OtherSampleType>
704 FloatVectorOperations::subtract (
getDataPointer (ch), src.getDataPointer (ch),
n);
707 template <
typename OtherSampleType>
713 template <
typename Src1SampleType,
typename Src2SampleType>
720 FloatVectorOperations::subtract (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
732 template <
typename OtherSampleType>
739 FloatVectorOperations::multiply (
getDataPointer (ch), src.getDataPointer (ch),
n);
742 template <
typename OtherSampleType>
752 template <
typename Src1SampleType,
typename Src2SampleType>
759 FloatVectorOperations::multiply (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
762 template <
typename OtherSampleType,
typename SmoothingType>
765 if (!
value.isSmoothing())
781 template <
typename BlockSampleType,
typename SmootherSampleType,
typename SmoothingType>
786 if (!
value.isSmoothing())
794 for (
size_t i = 0;
i <
n; ++
i)
805 template <
typename OtherSampleType>
812 FloatVectorOperations::addWithMultiply (
getDataPointer (ch), src.getDataPointer (ch), factor,
n);
815 template <
typename Src1SampleType,
typename Src2SampleType>
822 FloatVectorOperations::addWithMultiply (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
831 template <
typename OtherSampleType>
838 FloatVectorOperations::negate (
getDataPointer (ch), src.getDataPointer (ch),
n);
841 template <
typename OtherSampleType>
848 FloatVectorOperations::abs (
getDataPointer (ch), src.getDataPointer (ch),
n);
852 template <
typename Src1SampleType,
typename Src2SampleType>
859 FloatVectorOperations::min (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
862 template <
typename Src1SampleType,
typename Src2SampleType>
869 FloatVectorOperations::max (
getDataPointer (ch), src1.getDataPointer (ch), src2.getDataPointer (ch),
n);
890 template <
typename OtherSampleType>
#define constexpr
Definition CarlaDefines.h:94
Type jmin(const Type a, const Type b)
Definition MathsFunctions.h:60
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_AudioSampleBuffer.h:34
int numChannels
Definition juce_AudioSampleBuffer.h:1256
int getNumChannels() const noexcept
Definition juce_AudioSampleBuffer.h:236
int getNumSamples() const noexcept
Definition juce_AudioSampleBuffer.h:242
const Type * getReadPointer(int channelNumber) const noexcept
Definition juce_AudioSampleBuffer.h:253
Definition juce_HeapBlock.h:87
Definition juce_Range.h:40
Definition juce_SmoothedValue.h:227
const AudioBlock & multiplyBy(SmoothedValue< OtherSampleType, SmoothingType > &value) const noexcept
Definition juce_AudioBlock.h:468
typename SampleTypeHelpers::ElementType< SampleType >::Type NumericType
Definition juce_AudioBlock.h:82
void addInternal(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:662
AudioBlock & addProductOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:485
const AudioBlock & replaceWithNegativeOf(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:498
void subtractInternal(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:698
std::enable_if_t< std::is_same< std::remove_const_t< SampleType >, std::remove_const_t< OtherSampleType > >::value &&std::is_const< SampleType >::value &&! std::is_const< OtherSampleType >::value, int > MayUseConvertingConstructor
Definition juce_AudioBlock.h:73
AudioBlock & copyFrom(const AudioBuffer< OtherNumericType > &src, size_t srcPos=0, size_t dstPos=0, size_t numElements=std::numeric_limits< size_t >::max())
Definition juce_AudioBlock.h:325
AudioBlock(const AudioBlock< OtherSampleType > &other) noexcept
Definition juce_AudioBlock.h:191
const AudioBlock & replaceWithSumOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:415
void JUCE_VECTOR_CALLTYPE replaceWithSumOfInternal(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:672
void replaceWithMinOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:853
static void process(AudioBlock< Src1SampleType > inBlock, AudioBlock< Src2SampleType > outBlock, FunctionType &&function)
Definition juce_AudioBlock.h:576
void copyTo(AudioBuffer< typename std::remove_const< NumericType >::type > &dst, size_t srcPos=0, size_t dstPos=0, size_t numElements=std::numeric_limits< size_t >::max()) const
Definition juce_AudioBlock.h:340
AudioBlock getSubBlock(size_t newOffset, size_t newLength) const noexcept
Definition juce_AudioBlock.h:371
const AudioBlock & replaceWithAbsoluteValueOf(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:504
AudioBlock &JUCE_VECTOR_CALLTYPE subtract(NumericType value) noexcept
Definition juce_AudioBlock.h:419
friend class AudioBlock
Definition juce_AudioBlock.h:891
const AudioBlock & subtract(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:426
void JUCE_VECTOR_CALLTYPE fillInternal(NumericType value) const noexcept
Definition juce_AudioBlock.h:609
AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithProductOf(AudioBlock< OtherSampleType > src, NumericType value) noexcept
Definition juce_AudioBlock.h:453
AudioBlock getSubsetChannelBlock(size_t channelStart, size_t numChannelsToUse) const noexcept
Definition juce_AudioBlock.h:259
const AudioBlock &JUCE_VECTOR_CALLTYPE subtract(NumericType value) const noexcept
Definition juce_AudioBlock.h:420
const AudioBlock & replaceWithProductOf(AudioBlock< BlockSampleType > src, SmoothedValue< SmootherSampleType, SmoothingType > &value) const noexcept
Definition juce_AudioBlock.h:474
SampleType *const * channels
Definition juce_AudioBlock.h:886
const AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithDifferenceOf(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:432
void moveInternal(size_t srcPos, size_t dstPos, size_t numElements=std::numeric_limits< size_t >::max()) const noexcept
Definition juce_AudioBlock.h:640
const AudioBlock & clear() const noexcept
Definition juce_AudioBlock.h:306
NumericType * getDataPointer(size_t channel) const noexcept
Definition juce_AudioBlock.h:595
void setSample(int destChannel, int destSample, SampleType newValue) const noexcept
Definition juce_AudioBlock.h:284
AudioBlock & replaceWithDifferenceOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:436
constexpr size_t getNumChannels() const noexcept
Definition juce_AudioBlock.h:235
const AudioBlock &JUCE_VECTOR_CALLTYPE add(NumericType value) const noexcept
Definition juce_AudioBlock.h:397
AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithSumOf(AudioBlock< OtherSampleType > src, NumericType value) noexcept
Definition juce_AudioBlock.h:407
unsigned int ChannelCountType
Definition juce_AudioBlock.h:873
AudioBlock & replaceWithMaxOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:515
Range< typename std::remove_const< NumericType >::type > findMinAndMax() const noexcept
Definition juce_AudioBlock.h:521
const AudioBlock & replaceWithDifferenceOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:438
SampleType * getChannelPointer(size_t channel) const noexcept
Definition juce_AudioBlock.h:241
AudioBlock & negate() noexcept
Definition juce_AudioBlock.h:491
AudioBlock & replaceWithNegativeOf(AudioBlock< OtherSampleType > src) noexcept
Definition juce_AudioBlock.h:496
AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithDifferenceOf(AudioBlock< OtherSampleType > src, NumericType value) noexcept
Definition juce_AudioBlock.h:430
size_t numSamples
Definition juce_AudioBlock.h:888
AudioBlock & replaceWithSumOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:413
AudioBlock(AudioBuffer< OtherSampleType > &buffer, size_t startSampleIndex) noexcept
Definition juce_AudioBlock.h:178
const AudioBlock & add(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:403
void swap(AudioBlock &other) noexcept
Definition juce_AudioBlock.h:207
const AudioBlock &JUCE_VECTOR_CALLTYPE fill(NumericType value) const noexcept
Definition juce_AudioBlock.h:310
AudioBlock &JUCE_VECTOR_CALLTYPE multiplyBy(NumericType value) noexcept
Definition juce_AudioBlock.h:442
AudioBlock &JUCE_VECTOR_CALLTYPE add(NumericType value) noexcept
Definition juce_AudioBlock.h:396
constexpr AudioBlock(AudioBuffer< OtherSampleType > &buffer) noexcept
Definition juce_AudioBlock.h:152
void multiplyByInternal(SmoothedValue< OtherSampleType, SmoothingType > &value) const noexcept
Definition juce_AudioBlock.h:763
void JUCE_VECTOR_CALLTYPE addInternal(NumericType value) const noexcept
Definition juce_AudioBlock.h:653
const AudioBlock & replaceWithProductOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:461
const AudioBlock & move(size_t srcPos, size_t dstPos, size_t numElements=std::numeric_limits< size_t >::max()) const noexcept
Definition juce_AudioBlock.h:358
AudioBlock & add(AudioBlock< OtherSampleType > src) noexcept
Definition juce_AudioBlock.h:401
AudioBlock & move(size_t srcPos, size_t dstPos, size_t numElements=std::numeric_limits< size_t >::max()) noexcept
Definition juce_AudioBlock.h:356
void replaceWithMaxOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:863
AudioBlock & replaceWithProductOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:459
AudioBlock & multiplyBy(SmoothedValue< OtherSampleType, SmoothingType > &value) noexcept
Definition juce_AudioBlock.h:466
void replaceWithNegativeOfInternal(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:832
const AudioBlock & replaceWithMinOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:511
AudioBlock & replaceWithAbsoluteValueOf(AudioBlock< OtherSampleType > src) noexcept
Definition juce_AudioBlock.h:502
AudioBlock & copyFrom(const AudioBlock< OtherSampleType > &src) noexcept
Definition juce_AudioBlock.h:314
static constexpr size_t elementMask
Definition juce_AudioBlock.h:877
void replaceWithSumOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:682
constexpr void JUCE_VECTOR_CALLTYPE subtractInternal(NumericType value) const noexcept
Definition juce_AudioBlock.h:692
AudioBlock &JUCE_VECTOR_CALLTYPE addProductOf(AudioBlock< OtherSampleType > src, NumericType factor) noexcept
Definition juce_AudioBlock.h:479
AudioBlock getSingleChannelBlock(size_t channel) const noexcept
Definition juce_AudioBlock.h:249
constexpr AudioBlock(const AudioBuffer< OtherSampleType > &buffer) noexcept
Definition juce_AudioBlock.h:165
SampleType getSample(int channel, int sampleIndex) const noexcept
Definition juce_AudioBlock.h:272
AudioBlock & subtract(AudioBlock< OtherSampleType > src) noexcept
Definition juce_AudioBlock.h:424
void replaceWithAbsoluteValueOfInternal(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:842
void JUCE_VECTOR_CALLTYPE replaceWithDifferenceOfInternal(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:708
const AudioBlock &JUCE_VECTOR_CALLTYPE addProductOf(AudioBlock< OtherSampleType > src, NumericType factor) const noexcept
Definition juce_AudioBlock.h:481
AudioBlock getSubBlock(size_t newOffset) const noexcept
Definition juce_AudioBlock.h:389
static constexpr size_t byteMask
Definition juce_AudioBlock.h:878
const AudioBlock & replaceWithMaxOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:517
void multiplyByInternal(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:733
const AudioBlock & negate() const noexcept
Definition juce_AudioBlock.h:492
AudioBlock & replaceWithMinOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept
Definition juce_AudioBlock.h:509
void JUCE_VECTOR_CALLTYPE clearInternal() const noexcept
Definition juce_AudioBlock.h:601
constexpr size_t getNumSamples() const noexcept
Definition juce_AudioBlock.h:238
const AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithSumOf(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:409
const AudioBlock & addProductOf(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:487
void replaceWithProductOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:753
void copyFromInternal(const AudioBuffer< OtherNumericType > &src, size_t srcPos, size_t dstPos, size_t numElements) const
Definition juce_AudioBlock.h:628
const AudioBlock & copyFrom(const AudioBlock< OtherSampleType > &src) const noexcept
Definition juce_AudioBlock.h:316
void addProductOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:816
void replaceWithProductOfInternal(AudioBlock< BlockSampleType > src, SmoothedValue< SmootherSampleType, SmoothingType > &value) const noexcept
Definition juce_AudioBlock.h:782
static constexpr size_t sizeFactor
Definition juce_AudioBlock.h:876
void replaceWithDifferenceOfInternal(AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept
Definition juce_AudioBlock.h:714
void addSample(int destChannel, int destSample, SampleType valueToAdd) const noexcept
Definition juce_AudioBlock.h:296
AudioBlock & clear() noexcept
Definition juce_AudioBlock.h:305
AudioBlock() noexcept=default
AudioBlock &JUCE_VECTOR_CALLTYPE fill(NumericType value) noexcept
Definition juce_AudioBlock.h:309
AudioBlock(const AudioBlock &other) noexcept=default
static constexpr size_t defaultAlignment
Definition juce_AudioBlock.h:883
constexpr AudioBlock(SampleType *const *channelData, size_t numberOfChannels, size_t startSampleIndex, size_t numberOfSamples) noexcept
Definition juce_AudioBlock.h:106
AudioBlock(HeapBlock< char > &heapBlockToUseForAllocation, size_t numberOfChannels, size_t numberOfSamples, size_t alignmentInBytes=defaultAlignment) noexcept
Definition juce_AudioBlock.h:120
void copyFromInternal(const AudioBlock< OtherSampleType > &src) const noexcept
Definition juce_AudioBlock.h:618
AudioBlock & replaceWithProductOf(AudioBlock< BlockSampleType > src, SmoothedValue< SmootherSampleType, SmoothingType > &value) noexcept
Definition juce_AudioBlock.h:472
ChannelCountType numChannels
Definition juce_AudioBlock.h:887
constexpr void negateInternal() const noexcept
Definition juce_AudioBlock.h:826
AudioBlock & multiplyBy(AudioBlock< OtherSampleType > src) noexcept
Definition juce_AudioBlock.h:447
void JUCE_VECTOR_CALLTYPE addProductOfInternal(AudioBlock< OtherSampleType > src, NumericType factor) const noexcept
Definition juce_AudioBlock.h:806
const AudioBlock & multiplyBy(AudioBlock< OtherSampleType > src) const noexcept
Definition juce_AudioBlock.h:449
void JUCE_VECTOR_CALLTYPE multiplyByInternal(NumericType value) const noexcept
Definition juce_AudioBlock.h:724
size_t startSample
Definition juce_AudioBlock.h:888
const AudioBlock &JUCE_VECTOR_CALLTYPE multiplyBy(NumericType value) const noexcept
Definition juce_AudioBlock.h:443
void JUCE_VECTOR_CALLTYPE replaceWithProductOfInternal(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:743
const AudioBlock & copyFrom(const AudioBuffer< OtherNumericType > &src, size_t srcPos=0, size_t dstPos=0, size_t numElements=std::numeric_limits< size_t >::max()) const
Definition juce_AudioBlock.h:329
const AudioBlock &JUCE_VECTOR_CALLTYPE replaceWithProductOf(AudioBlock< OtherSampleType > src, NumericType value) const noexcept
Definition juce_AudioBlock.h:455
register unsigned i
Definition inflate.c:1575
static PuglViewHint int value
Definition pugl.h:1708
JSAMPIMAGE data
Definition jpeglib.h:945
#define JUCE_VECTOR_CALLTYPE
Definition juce_dsp.h:100
Definition juce_AudioBlock.h:33
Definition carla_juce.cpp:31
Type unalignedPointerCast(void *ptr) noexcept
Definition juce_Memory.h:88
jack_client_t client jack_client_t client jack_client_t client jack_client_t JackInfoShutdownCallback function
Definition juce_linux_JackAudio.cpp:63
Type * addBytesToPointer(Type *basePointer, IntegerType bytes) noexcept
Definition juce_Memory.h:111
bool isPositiveAndBelow(Type1 valueToTest, Type2 upperLimit) noexcept
Definition juce_MathsFunctions.h:279
Type * snapPointerToAlignment(Type *basePointer, IntegerType alignmentBytes) noexcept
Definition juce_Memory.h:45
#define false
Definition ordinals.h:83
Definition juce_SIMDRegister.h:63
typename T::value_type Type
Definition juce_AudioBlock.h:49
const typename T::value_type Type
Definition juce_AudioBlock.h:43
Definition juce_AudioBlock.h:36
T Type
Definition juce_AudioBlock.h:37
int n
Definition crypt.c:458
return c
Definition crypt.c:175
typedef int(UZ_EXP MsgFn)()
#define const
Definition zconf.h:137