aflibConfig Class Reference

Audio data configuration. More...

#include <aflibConfig.h>

List of all members.

Public Member Functions

 aflibConfig ()
 Constructor.
 aflibConfig (int num_channels, aflib_data_size bits_per_sample, int samples_per_second)
 Constructor with parameters.
 ~aflibConfig ()
 Destructor.
INLINE int getChannels () const
 Gets the number of channels.
INLINE void setChannels (int channels)
 Sets the number of channels.
INLINE int getBitsPerSample () const
 Gets the number of bits per sample.
INLINE aflib_data_size getSampleSize () const
 Gets the sample size.
INLINE void setSampleSize (aflib_data_size bits_per_sample)
 Sets the sample size.
INLINE int getSamplesPerSecond () const
 Gets the samples per second.
INLINE void setSamplesPerSecond (int samples_per_second)
 Sets the samples per second.
INLINE aflib_data_orientation getDataOrientation () const
 Gets the data orientation.
INLINE void setDataOrientation (aflib_data_orientation data_orientation)
 Sets the data orientation.
INLINE aflib_data_endian getDataEndian () const
 Gets the endian of the data.
INLINE void setDataEndian (aflib_data_endian data_endian)
 Sets the endian of the data.
INLINE long long getTotalSamples () const
 Gets the total number of samples.
INLINE void setTotalSamples (long long total)
 Sets the total number of samples.


Detailed Description

Audio data configuration.

This class defines how audio data is formatted. This is just a simple data class. Most functions are inline in order to speed execution.


Constructor & Destructor Documentation

aflibConfig::aflibConfig (  ) 

Constructor.

aflibConfig::aflibConfig ( int  num_channels,
aflib_data_size  bits_per_sample,
int  samples_per_second 
)

Constructor with parameters.

aflibConfig::~aflibConfig (  ) 

Destructor.


Member Function Documentation

INLINE int aflibConfig::getChannels (  )  const [inline]

Gets the number of channels.

INLINE void aflibConfig::setChannels ( int  channels  )  [inline]

Sets the number of channels.

INLINE int aflibConfig::getBitsPerSample (  )  const [inline]

Gets the number of bits per sample.

INLINE aflib_data_size aflibConfig::getSampleSize (  )  const [inline]

Gets the sample size.

INLINE void aflibConfig::setSampleSize ( aflib_data_size  bits_per_sample  )  [inline]

Sets the sample size.

INLINE int aflibConfig::getSamplesPerSecond (  )  const [inline]

Gets the samples per second.

INLINE void aflibConfig::setSamplesPerSecond ( int  samples_per_second  )  [inline]

Sets the samples per second.

INLINE aflib_data_orientation aflibConfig::getDataOrientation (  )  const [inline]

Gets the data orientation.

INLINE void aflibConfig::setDataOrientation ( aflib_data_orientation  data_orientation  )  [inline]

Sets the data orientation.

INLINE aflib_data_endian aflibConfig::getDataEndian (  )  const [inline]

Gets the endian of the data.

INLINE void aflibConfig::setDataEndian ( aflib_data_endian  data_endian  )  [inline]

Sets the endian of the data.

INLINE long long aflibConfig::getTotalSamples (  )  const [inline]

Gets the total number of samples.

INLINE void aflibConfig::setTotalSamples ( long long  total  )  [inline]

Sets the total number of samples.


The documentation for this class was generated from the following files:
Generated on Sat Feb 23 13:56:37 2008 for Open Source Audio Library Project by  doxygen 1.5.1