|
Audaspace
1.3.0
A high level audio library.
|
This sound loops another sound. More...
#include <Loop.h>

Public Member Functions | |
| Loop (std::shared_ptr< ISound > sound, int loop=-1) | |
| Creates a new loop sound. More... | |
| int | getLoop () const |
| Returns the loop count. | |
| virtual std::shared_ptr< IReader > | createReader () |
| Creates a reader for playback of the sound source. More... | |
Public Member Functions inherited from Effect | |
| Effect (std::shared_ptr< ISound > sound) | |
| Creates a new sound. More... | |
| virtual | ~Effect () |
| Destroys the sound. | |
| std::shared_ptr< ISound > | getSound () const |
| Returns the saved sound. More... | |
Public Member Functions inherited from ISound | |
| virtual | ~ISound () |
| Destroys the sound. | |
Additional Inherited Members | |
Protected Member Functions inherited from Effect | |
| std::shared_ptr< IReader > | getReader () const |
| Returns the reader created out of the sound. More... | |
Protected Attributes inherited from Effect | |
| std::shared_ptr< ISound > | m_sound |
| If there is no reader it is created out of this sound. | |
This sound loops another sound.
| Loop::Loop | ( | std::shared_ptr< ISound > | sound, |
| int | loop = -1 |
||
| ) |
Creates a new loop sound.
| sound | The input sound. |
| loop | The desired loop count, negative values result in endless looping. |
|
virtual |
1.8.14