BufferInterleavedT /

#includecinder/audio/Buffer.h

Audio buffer that stores its channels of type T in one interleaved array (ie. the first sample of channel 1 is directly after the first sample of channel 0).


Public Member Functions

  • BufferInterleavedT (size_t numFrames=0, size_t numChannels=1)
  • void
    zero (size_t startFrame, size_t numFrames)
  • T &
    operator[] (size_t n)
  • const T &
    operator[] (size_t n) const

Protected Attributes

  • std::vector< T >
    mData
  • size_t
    mNumChannels
  • size_t
    mNumFrames