|
Audaspace
1.4.0
A high level audio library.
|
This sound limits another sound in start and end time. More...
#include <Limiter.h>

Public Member Functions | |
| Limiter (std::shared_ptr< ISound > sound, double start=0, double end=-1) | |
| Creates a new limiter sound. More... | |
| double | getStart () const |
| Returns the start time. | |
| double | getEnd () const |
| Returns the end time. | |
| 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 limits another sound in start and end time.
| Limiter::Limiter | ( | std::shared_ptr< ISound > | sound, |
| double | start = 0, |
||
| double | end = -1 |
||
| ) |
Creates a new limiter sound.
| sound | The input sound. |
| start | The desired start time. |
| end | The desired end time, a negative value signals that it should play to the end. |
|
virtual |
1.8.14