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

24bit integer which is used for I2S sound processing. It works only on little endian machines! More...

#include <Int24.h>

Public Member Functions

 int24_t (const int &in)
 
 int24_t (const int16_t &in)
 
 int24_t (const int32_t &in)
 
 int24_t (void *ptr)
 
int16_t getAndScale16 ()
 
 operator int () const
 
int24_toperator+= (int32_t value)
 
int24_toperator-= (int32_t value)
 
int16_t scale16 () const
 provides value between -32767 and 32767
 
int32_t scale32 () const
 provides value between -2,147,483,647 and 2,147,483,647
 
float scaleFloat () const
 provides value between -1.0 and 1.0
 
void set (const int32_t &in)
 
void setAndScale16 (int16_t i16)
 
float toFloat () const
 convert to float
 
int toInt () const
 Standard Conversion to Int.
 

Detailed Description

24bit integer which is used for I2S sound processing. It works only on little endian machines!

Author
Phil Schatzmann

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