#include <Music.h>
Inherits SoundMedia.
Inheritance diagram for Music:
Public Member Functions | |
Music () | |
virtual | ~Music () |
bool | load (const char *filename) |
bool | unload () |
void | play (int volume=192) |
void | stop () |
Protected Attributes | |
FMUSIC_MODULE * | mod |
bool | playing |
Author: Petter Alstermark, petter@alstermark.com
Definition at line 12 of file Music.h.
|
Author: Petter Alstermark, petter@alstermark.com Definition at line 9 of file Music.cpp. References mod. |
|
|
|
Reimplemented from SoundMedia. Definition at line 17 of file Music.cpp. References FMOD_ErrorString(), FMUSIC_LoadSong(), FSOUND_GetError(), LOG_ERROR, LOG_SUCCESS, mod, and playing. Referenced by MainApp::load(), Demo::load(), and Play::loadSounds(). Here is the call graph for this function: |
|
Definition at line 36 of file Music.cpp. References FMUSIC_PlaySong(), FMUSIC_SetMasterVolume(), mod, and playing. Referenced by Menu::load(), Join::load(), Play::loadSounds(), and Demo::update(). Here is the call graph for this function: |
|
Reimplemented from SoundMedia. Definition at line 46 of file Music.cpp. References FMUSIC_StopSong(), mod, and playing. Referenced by Join::networkLoop(), Play::unload(), MainApp::unload(), and Demo::unload(). Here is the call graph for this function: |
|
Reimplemented from SoundMedia. Definition at line 29 of file Music.cpp. References FMUSIC_FreeSong(), LOG_SUCCESS, and mod. Referenced by Play::unload(), MainApp::unload(), and Demo::unload(). Here is the call graph for this function: |
|
Definition at line 23 of file Music.h. Referenced by load(), Music(), play(), stop(), and unload(). |
|
|