Torque2D Reference

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

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

Public Member Functions | Public Attributes | Protected Attributes | List of all members
AudioStreamSource Class Referenceabstract

`#include <audioStreamSource.h>`

Inheritance diagram for AudioStreamSource:

## Public Member Functions
virtual | ~AudioStreamSource ()
virtual bool | initStream ()=0
virtual bool | updateBuffers ()=0
virtual void | freeStream ()=0
virtual F32 | getElapsedTime ()=0
virtual F32 | getTotalTime ()=0

## Public Attributes
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
const char * | mFilename

## Constructor & Destructor Documentation

virtual ~AudioStreamSource | ( |  | ) |
| inline virtual

## Member Function Documentation

virtual void freeStream | ( |  | ) |
| pure virtual

Implemented in WavStreamSource, and VorbisStreamSource.

virtual F32 getElapsedTime | ( |  | ) |
| pure virtual

Implemented in WavStreamSource, and VorbisStreamSource.

virtual F32 getTotalTime | ( |  | ) |
| pure virtual

Implemented in WavStreamSource, and VorbisStreamSource.

virtual bool initStream | ( |  | ) |
| pure virtual

Implemented in WavStreamSource, and VorbisStreamSource.

virtual bool updateBuffers | ( |  | ) |
| pure virtual

Implemented in WavStreamSource, and VorbisStreamSource.

## Member Data Documentation

bool bFinishedPlaying

bool bIsValid

U32 mCullTime

Audio::Description mDescription

Point3F mDirection

AudioSampleEnvironment* mEnvironment

const char* mFilename
| protected

AUDIOHANDLE mHandle

F32 mPitch

Point3F mPosition

F32 mScore

ALuint mSource

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

- audio/audioStreamSource.h