|
| AudioBlock () noexcept=default |
|
constexpr | AudioBlock (SampleType *const *channelData, size_t numberOfChannels, size_t numberOfSamples) noexcept |
|
constexpr | AudioBlock (SampleType *const *channelData, size_t numberOfChannels, size_t startSampleIndex, size_t numberOfSamples) noexcept |
|
| AudioBlock (HeapBlock< char > &heapBlockToUseForAllocation, size_t numberOfChannels, size_t numberOfSamples, size_t alignmentInBytes=defaultAlignment) noexcept |
|
template<typename OtherSampleType > |
constexpr | AudioBlock (AudioBuffer< OtherSampleType > &buffer) noexcept |
|
template<typename OtherSampleType > |
| AudioBlock (AudioBuffer< OtherSampleType > &buffer, size_t startSampleIndex) noexcept |
|
| AudioBlock (const AudioBlock &other) noexcept=default |
|
AudioBlock & | operator= (const AudioBlock &other) noexcept=default |
|
template<typename OtherSampleType , MayUseConvertingConstructor< OtherSampleType > = 0> |
| AudioBlock (const AudioBlock< OtherSampleType > &other) noexcept |
|
template<typename OtherSampleType , MayUseConvertingConstructor< OtherSampleType > = 0> |
AudioBlock & | operator= (const AudioBlock< OtherSampleType > &other) noexcept |
|
void | swap (AudioBlock &other) noexcept |
|
template<typename OtherSampleType > |
constexpr bool | operator== (const AudioBlock< OtherSampleType > &other) const noexcept |
|
template<typename OtherSampleType > |
constexpr bool | operator!= (const AudioBlock< OtherSampleType > &other) const noexcept |
|
constexpr size_t | getNumChannels () const noexcept |
|
constexpr size_t | getNumSamples () const noexcept |
|
SampleType * | getChannelPointer (size_t channel) const noexcept |
|
AudioBlock | getSingleChannelBlock (size_t channel) const noexcept |
|
AudioBlock | getSubsetChannelBlock (size_t channelStart, size_t numChannelsToUse) const noexcept |
|
SampleType | getSample (int channel, int sampleIndex) const noexcept |
|
void | setSample (int destChannel, int destSample, SampleType newValue) const noexcept |
|
void | addSample (int destChannel, int destSample, SampleType valueToAdd) const noexcept |
|
AudioBlock & | clear () noexcept |
|
const AudioBlock & | clear () const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | fill (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | fill (NumericType value) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | copyFrom (const AudioBlock< OtherSampleType > &src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | copyFrom (const AudioBlock< OtherSampleType > &src) const noexcept |
|
template<typename OtherNumericType > |
AudioBlock & | copyFrom (const AudioBuffer< OtherNumericType > &src, size_t srcPos=0, size_t dstPos=0, size_t numElements=std::numeric_limits< size_t >::max()) |
|
template<typename OtherNumericType > |
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 |
|
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 |
|
AudioBlock & | move (size_t srcPos, size_t dstPos, size_t numElements=std::numeric_limits< size_t >::max()) noexcept |
|
const AudioBlock & | move (size_t srcPos, size_t dstPos, size_t numElements=std::numeric_limits< size_t >::max()) const noexcept |
|
AudioBlock | getSubBlock (size_t newOffset, size_t newLength) const noexcept |
|
AudioBlock | getSubBlock (size_t newOffset) const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | add (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | add (NumericType value) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | add (AudioBlock< OtherSampleType > src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | add (AudioBlock< OtherSampleType > src) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithSumOf (AudioBlock< OtherSampleType > src, NumericType value) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithSumOf (AudioBlock< OtherSampleType > src, NumericType value) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | replaceWithSumOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | replaceWithSumOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | subtract (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | subtract (NumericType value) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | subtract (AudioBlock< OtherSampleType > src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | subtract (AudioBlock< OtherSampleType > src) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithDifferenceOf (AudioBlock< OtherSampleType > src, NumericType value) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithDifferenceOf (AudioBlock< OtherSampleType > src, NumericType value) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | replaceWithDifferenceOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | replaceWithDifferenceOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | multiplyBy (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | multiplyBy (NumericType value) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | multiplyBy (AudioBlock< OtherSampleType > src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | multiplyBy (AudioBlock< OtherSampleType > src) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithProductOf (AudioBlock< OtherSampleType > src, NumericType value) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock &JUCE_VECTOR_CALLTYPE | replaceWithProductOf (AudioBlock< OtherSampleType > src, NumericType value) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | replaceWithProductOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | replaceWithProductOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
template<typename SmoothingType > |
AudioBlock & | multiplyBy (SmoothedValue< SampleType, SmoothingType > &value) noexcept |
|
template<typename SmoothingType > |
const AudioBlock & | multiplyBy (SmoothedValue< SampleType, SmoothingType > &value) const noexcept |
|
template<typename OtherSampleType , typename SmoothingType > |
AudioBlock & | replaceWithProductOf (AudioBlock< OtherSampleType > src, SmoothedValue< SampleType, SmoothingType > &value) noexcept |
|
template<typename OtherSampleType , typename SmoothingType > |
const AudioBlock & | replaceWithProductOf (AudioBlock< OtherSampleType > src, SmoothedValue< SampleType, SmoothingType > &value) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock &JUCE_VECTOR_CALLTYPE | addProductOf (AudioBlock< OtherSampleType > src, NumericType factor) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock &JUCE_VECTOR_CALLTYPE | addProductOf (AudioBlock< OtherSampleType > src, NumericType factor) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | addProductOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | addProductOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
AudioBlock & | negate () noexcept |
|
const AudioBlock & | negate () const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | replaceWithNegativeOf (AudioBlock< OtherSampleType > src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | replaceWithNegativeOf (AudioBlock< OtherSampleType > src) const noexcept |
|
template<typename OtherSampleType > |
AudioBlock & | replaceWithAbsoluteValueOf (AudioBlock< OtherSampleType > src) noexcept |
|
template<typename OtherSampleType > |
const AudioBlock & | replaceWithAbsoluteValueOf (AudioBlock< OtherSampleType > src) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | replaceWithMinOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | replaceWithMinOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
AudioBlock & | replaceWithMaxOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) noexcept |
|
template<typename Src1SampleType , typename Src2SampleType > |
const AudioBlock & | replaceWithMaxOf (AudioBlock< Src1SampleType > src1, AudioBlock< Src2SampleType > src2) const noexcept |
|
Range< typename std::remove_const< NumericType >::type > | findMinAndMax () const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | operator+= (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | operator+= (NumericType value) const noexcept |
|
AudioBlock & | operator+= (AudioBlock src) noexcept |
|
const AudioBlock & | operator+= (AudioBlock src) const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | operator-= (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | operator-= (NumericType value) const noexcept |
|
AudioBlock & | operator-= (AudioBlock src) noexcept |
|
const AudioBlock & | operator-= (AudioBlock src) const noexcept |
|
AudioBlock &JUCE_VECTOR_CALLTYPE | operator*= (NumericType value) noexcept |
|
const AudioBlock &JUCE_VECTOR_CALLTYPE | operator*= (NumericType value) const noexcept |
|
AudioBlock & | operator*= (AudioBlock src) noexcept |
|
const AudioBlock & | operator*= (AudioBlock src) const noexcept |
|
template<typename SmoothingType > |
AudioBlock & | operator*= (SmoothedValue< SampleType, SmoothingType > &value) noexcept |
|
template<typename SmoothingType > |
const AudioBlock & | operator*= (SmoothedValue< SampleType, SmoothingType > &value) const noexcept |
|
template<
typename SampleType>
class juce::dsp::AudioBlock< SampleType >
Minimal and lightweight data-structure which contains a list of pointers to channels containing some kind of sample data.
This class doesn't own any of the data which it points to, it's simply a view into data that is owned elsewhere. You can construct one from some raw data that you've allocated yourself, or give it a HeapBlock to use, or give it an AudioBuffer which it can refer to, but in all cases the user is responsible for making sure that the data doesn't get deleted while there's still an AudioBlock using it.
Definition at line 64 of file juce_AudioBlock.h.