#include <Music.hpp>
Inheritance diagram for sfMusic:
Public Member Functions | |
sfMusic (std::size_t BufferSize=44100) | |
bool | Open (const std::string &Filename) |
void | SetLoop (bool Loop) |
bool | GetLoop () const |
float | GetDuration () const |
Definition at line 41 of file Music.hpp.
sfMusic::sfMusic | ( | std::size_t | BufferSize = 44100 |
) |
bool sfMusic::Open | ( | const std::string & | Filename | ) |
Open a music file (doesn't play it -- call Play() for that)
Filename | : Path of the music file to open |
Definition at line 49 of file Music.cpp.
References sfSoundStream::Initialize().
void sfMusic::SetLoop | ( | bool | Loop | ) |
bool sfMusic::GetLoop | ( | ) | const |
float sfMusic::GetDuration | ( | ) | const |