arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
FadeConverter< T > Class Template Reference

converter which does a fade out or fade in. More...

#include <Fade.h>

Inheritance diagram for FadeConverter< T >:
BaseConverter

Public Member Functions

 FadeConverter (int channels)
 
virtual size_t convert (uint8_t *src, size_t size)
 
bool isFadeComplete ()
 
bool isFadeInActive ()
 
bool isFadeOutActive ()
 
void setChannels (int ch)
 
void setFadeInActive (bool flag)
 
void setFadeOutActive (bool flag)
 

Protected Attributes

int channels = 0
 
Fade fade
 

Detailed Description

template<typename T>
class audio_tools::FadeConverter< T >

converter which does a fade out or fade in.

Template Parameters
T

Constructor & Destructor Documentation

◆ FadeConverter()

template<typename T >
FadeConverter ( int  channels)
inline

Member Function Documentation

◆ convert()

template<typename T >
virtual size_t convert ( uint8_t src,
size_t  size 
)
inlinevirtual

Implements BaseConverter.

◆ isFadeComplete()

template<typename T >
bool isFadeComplete ( )
inline

◆ isFadeInActive()

template<typename T >
bool isFadeInActive ( )
inline

◆ isFadeOutActive()

template<typename T >
bool isFadeOutActive ( )
inline

◆ setChannels()

template<typename T >
void setChannels ( int  ch)
inline

◆ setFadeInActive()

template<typename T >
void setFadeInActive ( bool  flag)
inline

◆ setFadeOutActive()

template<typename T >
void setFadeOutActive ( bool  flag)
inline

Member Data Documentation

◆ channels

template<typename T >
int channels = 0
protected

◆ fade

template<typename T >
Fade fade
protected

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