DISTRHO Plugin Framework
Functions
Miscellaneous functions

Functions

static constexpr int64_t d_cconst (const uint8_t a, const uint8_t b, const uint8_t c, const uint8_t d) noexcept
 
static constexpr uint32_t d_cconst (const char str[4])
 
static constexpr uint32_t d_version (const uint8_t major, const uint8_t minor, const uint8_t micro) noexcept
 
static void d_pass () noexcept
 

Detailed Description

Function Documentation

◆ d_cconst() [1/2]

static constexpr int64_t d_cconst ( const uint8_t  a,
const uint8_t  b,
const uint8_t  c,
const uint8_t  d 
)
inlinestaticconstexprnoexcept

Return a 32-bit number from 4 8-bit numbers.
The return type is a int64_t for better compatibility with plugin formats that use such numbers.

◆ d_cconst() [2/2]

static constexpr uint32_t d_cconst ( const char  str[4])
inlinestaticconstexpr

Return a 32-bit number from 4 ASCII characters.

◆ d_version()

static constexpr uint32_t d_version ( const uint8_t  major,
const uint8_t  minor,
const uint8_t  micro 
)
inlinestaticconstexprnoexcept

Return an hexadecimal representation of a MAJ.MIN.MICRO version number.

◆ d_pass()

static void d_pass ( )
inlinestaticnoexcept

Dummy, no-op function.