emilib
Classes | Public Member Functions | List of all members
emilib::Music Class Reference

Stream .mp3 files on iOS and OSX. More...

#include <music.hpp>

Public Member Functions

 Music (const char *path)
 
 Music (Music &&)
 
Musicoperator= (Music &&)
 
 Music (const Music &)=delete
 
Musicoperator= (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)
 

Detailed Description

Stream .mp3 files on iOS and OSX.


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