arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
audio_tools::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 <Converter.h>

Inheritance diagram for audio_tools::ConverterToInternalDACFormat< T >:
audio_tools::BaseConverter< T >

Public Member Functions

 ConverterToInternalDACFormat (int channels=2)
 
size_t convert (uint8_t *src, size_t byte_count)
 
- Public Member Functions inherited from audio_tools::BaseConverter< T >
 BaseConverter (BaseConverter const &)=delete
 
virtual size_t convert (uint8_t *src, size_t size)=0
 
BaseConverteroperator= (BaseConverter const &)=delete
 

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 audio_tools::ConverterToInternalDACFormat< T >::convert ( uint8_t *  src,
size_t  byte_count 
)
inlinevirtual

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