Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

aflibConfig Class Reference

Audio data configuration. More...

#include <aflibConfig.h>

List of all members.

Public Methods

 aflibConfig ()
 Constructor. More...

 aflibConfig (int num_channels, aflib_data_size bits_per_sample, int samples_per_second)
 Constructor with parameters. More...

 ~aflibConfig ()
 Destructor. More...

INLINE int getChannels () const
 Gets the number of channels. More...

INLINE void setChannels (int channels)
 Sets the number of channels. More...

INLINE int getBitsPerSample () const
 Gets the number of bits per sample. More...

INLINE aflib_data_size getSampleSize () const
 Gets the sample size. More...

INLINE void setSampleSize (aflib_data_size bits_per_sample)
 Sets the sample size. More...

INLINE int getSamplesPerSecond () const
 Gets the samples per second. More...

INLINE void setSamplesPerSecond (int samples_per_second)
 Sets the samples per second. More...

INLINE aflib_data_orientation getDataOrientation () const
 Gets the data orientation. More...

INLINE void setDataOrientation (aflib_data_orientation data_orientation)
 Sets the data orientation. More...

INLINE aflib_data_endian getDataEndian () const
 Gets the endian of the data. More...

INLINE void setDataEndian (aflib_data_endian data_endian)
 Sets the endian of the data. More...

INLINE long long getTotalSamples () const
 Gets the total number of samples. More...

INLINE void setTotalSamples (long long total)
 Sets the total number of samples. More...


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::getBitsPerSample   const [inline]
 

Gets the number of bits per sample.

INLINE int aflibConfig::getChannels   const [inline]
 

Gets the number of channels.

INLINE aflib_data_endian aflibConfig::getDataEndian   const [inline]
 

Gets the endian of the data.

INLINE aflib_data_orientation aflibConfig::getDataOrientation   const [inline]
 

Gets the data orientation.

INLINE aflib_data_size aflibConfig::getSampleSize   const [inline]
 

Gets the sample size.

INLINE int aflibConfig::getSamplesPerSecond   const [inline]
 

Gets the samples per second.

INLINE long long aflibConfig::getTotalSamples   const [inline]
 

Gets the total number of samples.

INLINE void aflibConfig::setChannels int    channels [inline]
 

Sets the number of channels.

INLINE void aflibConfig::setDataEndian aflib_data_endian    data_endian [inline]
 

Sets the endian of the data.

INLINE void aflibConfig::setDataOrientation aflib_data_orientation    data_orientation [inline]
 

Sets the data orientation.

INLINE void aflibConfig::setSampleSize aflib_data_size    bits_per_sample [inline]
 

Sets the sample size.

INLINE void aflibConfig::setSamplesPerSecond int    samples_per_second [inline]
 

Sets the samples per second.

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 Wed May 8 20:51:10 2002 for Open Source Audio Library Project by doxygen1.2.15