Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
sbl::control::Cam Struct Reference

Detailed Description

A cam table and its size: size entries and a guard point after them. A default Cam has no table; cam_evaluate must not be given one.

Definition at line 46 of file cam.hpp.

#include <cam.hpp>

Public Member Functions

constexpr operator bool () const
 

Static Public Member Functions

template<size_t N>
static constexpr Cam of (const float(&table)[N])
 

Public Attributes

const float * table = nullptr
 
uint16_t size = 0
 

Member Function Documentation

◆ of()

template<size_t N>
static constexpr Cam sbl::control::Cam::of ( const float(&)  table[N])
inlinestaticconstexpr

The Cam of a LUTE table, its size read from the array's type.

Definition at line 52 of file cam.hpp.

References sbl::control::CAM_GUARD_POINTS.

Referenced by sbl::control::cam_evaluate().

◆ operator bool()

constexpr sbl::control::Cam::operator bool ( ) const
inlineexplicitconstexpr

Definition at line 57 of file cam.hpp.

Member Data Documentation

◆ table

const float* sbl::control::Cam::table = nullptr

Definition at line 47 of file cam.hpp.

◆ size

uint16_t sbl::control::Cam::size = 0

Definition at line 48 of file cam.hpp.


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