#include <aflibConfig.h>
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. | |
This class defines how audio data is formatted. This is just a simple data class. Most functions are inline in order to speed execution.
1.4.6