emilib
|
Stream .mp3 files on iOS and OSX. More...
#include <music.hpp>
Public Member Functions | |
Music (const char *path) | |
Music (Music &&) | |
Music & | operator= (Music &&) |
Music (const Music &)=delete | |
Music & | operator= (const Music &)=delete |
const std::string & | path () const |
void | update (float dt) |
For fades. | |
void | fade_in (float duration=0.1f) |
void | fade_out_and_pause (float duration=0.1f) |
void | play () |
void | pause () |
void | stop () |
void | set_volume (float volume) |
void | set_muted (bool muted) |
Stream .mp3 files on iOS and OSX.