#include <PcmBuffer.h>
Public Member Functions | |
PcmBufferT (uint32_t aMaxSampleCount, uint16_t aChannelCount, bool isInterleaved) | |
~PcmBufferT () | |
uint32_t | getSampleCount (ChannelIdentifier channelId=CHANNEL_FRONT_LEFT) const |
uint32_t | getMaxSampleCount () const |
uint16_t | getChannelCount () const |
bool | isInterleaved () const |
shared_ptr< BufferT< T > > | getChannelData (ChannelIdentifier channelId) const |
shared_ptr< BufferT< T > > | getInterleavedData () const |
void | appendInterleavedData (T *aData, uint32_t aSampleCount) |
void | appendChannelData (T *aData, uint32_t aSampleCount, ChannelIdentifier channelId) |
cinder::audio::PcmBufferT< T >::PcmBufferT | ( | uint32_t | aMaxSampleCount, | |
uint16_t | aChannelCount, | |||
bool | isInterleaved | |||
) |
cinder::audio::PcmBufferT< T >::~PcmBufferT | ( | ) |
uint32_t cinder::audio::PcmBufferT< T >::getSampleCount | ( | ChannelIdentifier | channelId = CHANNEL_FRONT_LEFT |
) | const |
uint32_t cinder::audio::PcmBufferT< T >::getMaxSampleCount | ( | ) | const |
uint16_t cinder::audio::PcmBufferT< T >::getChannelCount | ( | ) | const |
bool cinder::audio::PcmBufferT< T >::isInterleaved | ( | ) | const |
shared_ptr< BufferT< T > > cinder::audio::PcmBufferT< T >::getChannelData | ( | ChannelIdentifier | channelId | ) | const |
shared_ptr< BufferT< T > > cinder::audio::PcmBufferT< T >::getInterleavedData | ( | ) | const |
void cinder::audio::PcmBufferT< T >::appendInterleavedData | ( | T * | aData, | |
uint32_t | aSampleCount | |||
) |
void cinder::audio::PcmBufferT< T >::appendChannelData | ( | T * | aData, | |
uint32_t | aSampleCount, | |||
ChannelIdentifier | channelId | |||
) |