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

special case for internal DAC output, the incomming PCM buffer needs to be converted from signed 16bit to unsigned More...

#include <BaseConverter.h>

Inheritance diagram for ConverterToInternalDACFormat< T >:
BaseConverter

Public Member Functions

 ConverterToInternalDACFormat (int channels=2)
 
size_t convert (uint8_t *src, size_t byte_count) override
 

Protected Attributes

int channels
 

Detailed Description

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

special case for internal DAC output, the incomming PCM buffer needs to be converted from signed 16bit to unsigned

Author
Phil Schatzmann
Template Parameters
T

Member Function Documentation

◆ convert()

template<typename T >
size_t convert ( uint8_t *  src,
size_t  byte_count 
)
inlineoverridevirtual

Implements BaseConverter.


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