arduino-audio-tools
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
audio_tools::NumberConverter Class Reference

Converts from a source to a target number with a different type. More...

#include <Converter.h>

Static Public Member Functions

static int16_t convert16 (int value, int value_bits_per_sample)
 
static int16_t convert8 (int value, int value_bits_per_sample)
 
static int16_t convertFrom24To16 (int24_t value)
 
static int32_t convertFrom24To32 (int24_t value)
 
static float convertFrom24ToFloat (int24_t value)
 
static int16_t convertFrom32To16 (int32_t value)
 
static int64_t maxValue (int value_bits_per_sample)
 provides the biggest number for the indicated number of bits
 

Detailed Description

Converts from a source to a target number with a different type.


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