Audio format, somewhat ripped off from libao.
More...
#include <audiooutput.h>
Audio format, somewhat ripped off from libao.
◆ isNativeArrangement()
| bool Audio::AudioFormat::isNativeArrangement |
( |
| ) |
const |
Determine whether the byte ordering matches the native ordering.
◆ nativeArrangement()
Determine the byte ordering of the machine.
◆ realArrangement()
Return the byte ordering scheme, translating "native" ordering into big or little or an exception.
- Returns
- Big or Little endian.
◆ sampleGroupSize()
| int Audio::AudioFormat::sampleGroupSize |
( |
| ) |
const |
|
inline |
Get the size of sample data.
- Returns
- Number of channels * sizeof (individual channel's sample).
◆ arrangement
◆ bits
| int Audio::AudioFormat::bits = 16 |
Bits per sample in a single channel
◆ channels
| int Audio::AudioFormat::channels = 2 |
◆ rate
| int Audio::AudioFormat::rate = 44100 |
Samples per second in a single channel
◆ signedness
The documentation for this struct was generated from the following files: