| Renderd7-nightly
    v0.7.0
    | 
#include <sound.hpp>
| Public Member Functions | |
| sound (const std::string &path, int channel=1, bool toloop=false) | |
| Construct new Soundeffect.  More... | |
| ~sound () | |
| void | play () | 
| void | stop () | 
| Private Attributes | |
| u32 | dataSize | 
Sound Class
| sound::sound | ( | const std::string & | path, | 
| int | channel = 1, | ||
| bool | toloop = false | ||
| ) | 
Construct new Soundeffect.
| path | Path to the .wav file | 
| channel | the channel 1-23 | 
| toloop | true:loop the sound, false: don't loop | 
| sound::~sound | ( | ) | 
deconstruct the sound
| void sound::play | ( | ) | 
play the sound
| void sound::stop | ( | ) | 
stop the sound
| 
 | private | 
| dataSize | the Size of the filedata |