openTRI 0.1
Data Fields
triWav Struct Reference

A WAV file struct. More...

#include <triWav.h>

Data Fields

triU32 channels
 Number of channels.
 
triU32 sampleRate
 Sample rate.
 
triU32 sampleCount
 Sample count.
 
triU32 dataLength
 Data length.
 
triU32 rateRatio
 Rate ratio (sampleRate / 44100 * 0x10000)
 
triU32 playPtr
 Internal.
 
triU32 playPtr_frac
 Internal.
 
triUInt loop
 Loop flag.
 
void * data
 A pointer to the actual WAV data.
 
triUInt id
 The ID of the WAV.
 
triU32 bitPerSample
 The bit rate of the WAV.
 

Detailed Description

A WAV file struct.


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