csl::BufferCMap Class Reference

#include <CSL_Core.h>

Inheritance diagram for csl::BufferCMap:

csl::Buffer

List of all members.

Public Member Functions

 BufferCMap ()
 Constructors: default is useless.
 BufferCMap (unsigned numChannels, unsigned numFrames)
 ask for a given number of "virtual" channels
 BufferCMap (unsigned numChannels, unsigned realNumChannels, unsigned numFrames)
 ~BufferCMap ()
 Destructor.
SampleBuffer monoBuffer (unsigned bufNum)
 Pointer accessor uses channel map.

Public Attributes

unsigned mRealNumChannels
 the actual number of channels used
std::vector< int > mChannelMap
 the map between virtual and real channels


Detailed Description

BufferCMap is a Sample buffer with channel map and count. The map is so that one can have (e.g.,) a buffer that stands for 3 channels within an 8-channel space

Constructor & Destructor Documentation

BufferCMap::BufferCMap (  ) 

Constructors: default is useless.

Buffer Sample Processing (optional).

BufferCMap::BufferCMap ( unsigned  numChannels,
unsigned  numFrames 
)

ask for a given number of "virtual" channels

BufferCMap::BufferCMap ( unsigned  numChannels,
unsigned  realNumChannels,
unsigned  numFrames 
)

BufferCMap::~BufferCMap (  ) 

Destructor.


Member Function Documentation

SampleBuffer csl::BufferCMap::monoBuffer ( unsigned  bufNum  )  [inline]

Pointer accessor uses channel map.

Reimplemented from csl::Buffer.

References csl::Buffer::mBuffers, and mChannelMap.


Member Data Documentation

the actual number of channels used

std::vector<int> csl::BufferCMap::mChannelMap

the map between virtual and real channels

Referenced by csl::InOut::InOut(), monoBuffer(), and csl::InOut::setChanMap().


The documentation for this class was generated from the following files:

Generated on Thu Sep 17 23:14:17 2009 for CSL by  doxygen 1.5.8