arduino-audio-tools
All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Modules Pages
Public Member Functions | Protected Attributes | List of all members
CallbackConverterT< T > Class Template Reference

You can provide a lambda expression to conver the data. More...

#include <BaseConverter.h>

Inheritance diagram for CallbackConverterT< T >:
BaseConverter

Public Member Functions

 CallbackConverterT (T(*callback)(T in, int channel), int channels=2)
 
size_t convert (uint8_t *src, size_t size)
 

Protected Attributes

T(* callback )(T in, int channel)
 
int channels
 

Detailed Description

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

You can provide a lambda expression to conver the data.

Template Parameters
T

Member Function Documentation

◆ convert()

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

Implements BaseConverter.


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