Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
fixed.hpp File Reference
#include <cstdint>
Include dependency graph for fixed.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs functionality.
 
namespace  sbl::dsp
 DSP atoms for audio signal processing.
 

Functions

constexpr int32_t sbl::dsp::saturate_24 (int32_t x)
 Clamp value to 24-bit audio range.
 

Variables

constexpr uint32_t sbl::dsp::Q16_ONE = 65536u
 
constexpr uint16_t sbl::dsp::U16_MAX = 65535u
 
constexpr uint16_t sbl::dsp::U16_MID = 32768u
 
constexpr uint16_t sbl::dsp::FRAC16_MASK = 0xffff
 
constexpr int32_t sbl::dsp::SAMPLE_MAX_24 = 8388607
 
constexpr int32_t sbl::dsp::SAMPLE_MIN_24 = -8388607