#include <SoundEngine.h>
Collaboration diagram for SoundEngine:
Static Public Methods | |
void | playFx (DmResID resID) |
Play a sound effect which is stored in a resource of type 'Tsfx' with the specified resource ID. More... | |
void | playSong (DmResID resID) |
Play a song where the sequence of patterns is stored in a resource of type 'Ttrk' with the specified resource ID. More... | |
void | stopSong () |
Stop the currently playing song. More... | |
void | timeTick () |
This method needs to be invoked periodically, in order for SoundEngine to work. More... | |
Friends | |
class | Presentation |
Definition at line 62 of file SoundEngine.h.
|
Play a sound effect which is stored in a resource of type 'Tsfx' with the specified resource ID.
Definition at line 49 of file SoundEngine.cpp. Referenced by DemoActionEngine::nextPeriod(). |
|
Play a song where the sequence of patterns is stored in a resource of type 'Ttrk' with the specified resource ID. The patterns themselves are stored in resources of type 'Tpat' where the pattern ID is the resource ID.
Definition at line 58 of file SoundEngine.cpp. Referenced by DemoActionEngine::restart(). |
|
Stop the currently playing song.
Definition at line 67 of file SoundEngine.cpp. |
|
This method needs to be invoked periodically, in order for SoundEngine to work.
Definition at line 95 of file SoundEngine.cpp. Referenced by Presentation::nextPeriod(). |
|
Definition at line 113 of file SoundEngine.h. |