#include <pgeWav.h>
Data Fields | |
unsigned int | channels |
unsigned int | samplerate |
unsigned int | samplecount |
unsigned int | datalength |
unsigned int | rateratio |
unsigned int | playptr |
unsigned int | playptrfrac |
unsigned int | loop |
unsigned char * | data |
unsigned int | id |
unsigned int | bitrate |
float | leftvolume |
float | rightvolume |
unsigned int pgeWav::channels |
Number of channels
unsigned int pgeWav::samplerate |
Sample rate
unsigned int pgeWav::samplecount |
Sample count
unsigned int pgeWav::datalength |
Data length
unsigned int pgeWav::rateratio |
Rate ratio (samplerate / 44100 * 0x10000)
unsigned int pgeWav::playptr |
Current play position
unsigned int pgeWav::playptrfrac |
Current fractional play position
unsigned int pgeWav::loop |
Loop flag
unsigned char* pgeWav::data |
A pointer to the actual WAV data
unsigned int pgeWav::id |
The ID of the WAV
unsigned int pgeWav::bitrate |
The bitrate of the WAV
float pgeWav::leftvolume |
The left volume of the WAV
float pgeWav::rightvolume |
The right volume of the WAV