Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
WavStreamSource Class Reference

`#include <wavStreamSource.h>`

Inheritance diagram for WavStreamSource:

## Public Member Functions
| WavStreamSource (const char *filename)
virtual | ~WavStreamSource ()
virtual bool | initStream ()
virtual bool | updateBuffers ()
virtual void | freeStream ()
virtual F32 | getElapsedTime ()
virtual F32 | getTotalTime ()
Public Member Functions inherited from AudioStreamSource
virtual | ~AudioStreamSource ()

## Additional Inherited Members
Public Attributes inherited from AudioStreamSource
AUDIOHANDLE | mHandle
ALuint | mSource
Audio::Description | mDescription
AudioSampleEnvironment * | mEnvironment
Point3F | mPosition
Point3F | mDirection
F32 | mPitch
F32 | mScore
U32 | mCullTime
bool | bFinishedPlaying
bool | bIsValid
Protected Attributes inherited from AudioStreamSource
const char * | mFilename

## Constructor & Destructor Documentation

WavStreamSource | ( | const char * | filename | ) |

~WavStreamSource | ( |  | ) |
| virtual

## Member Function Documentation

void freeStream | ( |  | ) |
| virtual

Implements AudioStreamSource.

F32 getElapsedTime | ( |  | ) |
| virtual

Implements AudioStreamSource.

F32 getTotalTime | ( |  | ) |
| virtual

Implements AudioStreamSource.

bool initStream | ( |  | ) |
| virtual

Implements AudioStreamSource.

bool updateBuffers | ( |  | ) |
| virtual

Implements AudioStreamSource.

The documentation for this class was generated from the following files:

- audio/wavStreamSource.h
- audio/wavStreamSource.cc