#include <twgui_audiere.h>
Inheritance diagram for TwguiSample:

Public Member Functions | |
| ~TwguiSample () | |
| virtual void | load (const char *filename) |
| virtual void | play (double distance) |
| virtual void | play () |
| virtual void | set_volume (double distance) |
Public Attributes | |
| audiere::OutputStreamPtr | sample |
|
|
from audiere tutorial file: If you really _must_ delete an object before its pointer goes out of scope, just set the pointer to 0. |
|
|
This loads a sample, using the global TwguiSound pointer (see below). The sample should be contained or referenced inside an overloaded class. Implements TwguiSampleBase. |
|
|
play sound, without scaling for distance Implements TwguiSampleBase. |
|
|
Sounds that are played, have their volume scaled by distance and reference distance. Implements TwguiSampleBase. |
|
|
applies the SoundSystem volumes to a sample Implements TwguiSampleBase. |
|
|
reference to a sample |
1.4.6-NO