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

Public Member Functions | |
| virtual void | load (const char *filename) |
| virtual void | play () |
| virtual void | destroy () |
| virtual void | pause () |
| virtual void | resume () |
| virtual void | set_volume () |
Public Attributes | |
| int | position |
| audiere::OutputStreamPtr | music |
|
|
you need this to explicitly destroy looped, enless music when it's no longer needed Implements TwguiMusicBase. |
|
|
This loads a sample, using the global TwguiSound pointer (see below) Implements TwguiMusicBase. |
|
|
pause music Implements TwguiMusicBase. |
|
|
Sounds that are played, have their volume scaled by distance and reference distance. Implements TwguiMusicBase. |
|
|
resume music Implements TwguiMusicBase. |
|
|
applies the SoundSystem volumes to a piece of music Implements TwguiMusicBase. |
|
|
reference to a piece of music |
|
|
position in the stream |
1.4.6-NO