#include <BFormat.h>
Inherits CAmbisonicBase.
Inheritance diagram for CBFormat:


This object is used to store and transfer BFormat signals. Memory is allocated for the number of channels needed for the given Ambisonic configuration (order and 2D/3D) and the number of samples.
| CBFormat::CBFormat | ( | AmbInt | nOrder = DEFAULT_ORDER, |
|
| AmbInt | b3D = DEFAULT_HEIGHT, |
|||
| AmbInt | nSampleCount = DEFAULT_BFORMAT_SAMPLECOUNT | |||
| ) |
Constructor that allows for the format to be specified. If the format arguments are not specified, the values set for DEFAULT_ORDER, DEFAULT_HEIGHT, and DEFAULT_BFORMAT_SAMPLECOUNT will be used instead.
| CBFormat::~CBFormat | ( | ) |
| AmbInt CBFormat::GetSampleCount | ( | ) |
Returns the number of samples.
Re-create the buffers needed for the given configuration. Previous buffer contents are lost.
Reimplemented from CAmbisonicBase.
| void CBFormat::Reset | ( | ) | [virtual] |
Fill the buffer with zeros.
Implements CAmbisonicBase.
| void CBFormat::Refresh | ( | ) | [virtual] |
Not implemented.
Implements CAmbisonicBase.
Copy a number of samples to a specific channel of the BFormat.
Copy a number of samples from a specific channel of the BFormat.
| void CBFormat::operator= | ( | const CBFormat & | bf | ) |
Copy the content of the buffer. It is assumed that the two objects are of the same configuration.
Returns true if the configuration of the two objects match.
Returns true if the configuration of the two objects don't match.
friend class CAmbisonicEncoder [friend] |
friend class CAmbisonicEncoderDist [friend] |
friend class CAmbisonicDecoder [friend] |
friend class CAmbisonicSpeaker [friend] |
friend class CAmbisonicMicrophone [friend] |
friend class CAmbisonicProcessor [friend] |
friend class CAmbisonicBinauralizer [friend] |
friend class CAmbisonicZoomer [friend] |
AmbInt CBFormat::m_nSamples [protected] |
AmbInt CBFormat::m_nDataLength [protected] |
AmbFloat* CBFormat::m_pfData [protected] |
AmbFloat** CBFormat::m_ppfChannels [protected] |
1.5.1-p1;