#include <AUFile.h>
Public Member Functions | |
| uint32_t magic | __attribute__ ((packed)) |
| uint32_t offset | __attribute__ ((packed)) |
| uint32_t data_size | __attribute__ ((packed)) |
| uint32_t encoding | __attribute__ ((packed)) |
| uint32_t sample_rate | __attribute__ ((packed)) |
| uint32_t channels | __attribute__ ((packed)) |
Note that we explicitly pack the structure elements to allow raw reads of the structure from the file and vice versa. (See http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_4.html#SEC90)
|
|
Number of interleaved channels (mono = 1, stereo = 2) |
|
|
Samples per second |
|
|
Data encoding |
|
|
Audio data length in bytes |
|
|
Absolute byte offset into file to start of audio data |
|
|
The magic number (".snd") |
1.3-rc3