pgeWav Struct Reference
[WAV Library]

#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


Detailed Description

A WAV file struct

Field Documentation

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

The left volume of the WAV

The right volume of the WAV


The documentation for this struct was generated from the following file:

Generated on Mon Sep 22 16:58:14 2008 for Phoenix Game Engine by  doxygen 1.5.5