If we end audio and the last sample is not close to 0 we can hear a popping noise. This functionality brings the last value slowly to 0.
More...
#include <Fade.h>
|
void | end (Print &print, int steps=200) |
| When we do not have any data any more to fade out we try to bring the last sample slowly to 0.
|
|
void | setChannels (int ch) |
|
size_t | write (uint8_t *src, size_t size) |
|
|
void | storeLastSamples (int frames, uint8_t *src) |
|
|
int | channels = 0 |
|
Vector< T > | last {0} |
|
template<typename T>
class audio_tools::LastSampleFaderT< T >
If we end audio and the last sample is not close to 0 we can hear a popping noise. This functionality brings the last value slowly to 0.
- Template Parameters
-
The documentation for this class was generated from the following file:
- src/AudioTools/CoreAudio/Fade.h