All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
LxS::Audio::BGM Class Reference

background music More...

#include <bgm.hpp>

Collaboration diagram for LxS::Audio::BGM:
Collaboration graph

Public Member Functions

void Initialize ()
 initialize audio played
void EnqueueTrack (const std::string &track, bool dontstop=false)
void Stop ()
 stop playback
void UnloadResources ()
 uninitialize track
void SetVolume (float _volume)
 set global bgm volume
std::string & GetNowPlaying ()
 return track that is currently being played
bool IsPlaying ()
 is soundtrack being played

Detailed Description

background music

Member Function Documentation

void BGM::EnqueueTrack ( const std::string &  track,
bool  dontstop = false 

enqueue trach to a BGM playlist if dontstop is set to true, after playing this track (if it is last on the playlist) it will be reinserted onto the playlist)

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