CUGL 2.1
Cornell University Game Library
|
#include <CUWAVDecoder.h>
Public Attributes | |
Uint16 | encoding |
Uint16 | channels |
Uint32 | frequency |
Uint32 | byterate |
Uint16 | blockalign |
Uint16 | bitspersample |
This struct contains the RIFF information at the start of a WAVE file
Normally, this is stored in the first three chunks at the start of a WAVE file.
Uint16 cugl::audio::WaveFMT::bitspersample |
One of 8, 12, 16, or 4 for ADPCM
Uint16 cugl::audio::WaveFMT::blockalign |
The number of bytes per sample block
Uint32 cugl::audio::WaveFMT::byterate |
The average bytes per second
Uint16 cugl::audio::WaveFMT::channels |
The number of channels (1 = mono, 2 = stereo)
Uint16 cugl::audio::WaveFMT::encoding |
The encoding type (PCM, IEEE, MS ADPCM, IMA ADPCM)
Uint32 cugl::audio::WaveFMT::frequency |
The sample rate (11025, 22050, or 44100 Hz)