fsh::stk
fantastic spatial holophonic synthesis toolkit
Loading...
Searching...
No Matches
fsh::util::BufferProtector::Params Struct Reference

Parameters for the buffer protector. More...

#include <BufferProtector.h>

Public Attributes

float maxDb = +6.0f
 Clamp all buffer samples to +/- this value (in dB).
 
bool allowNaNs = false
 Replace NaNs with 0.0f in the buffer.
 

Detailed Description

Parameters for the buffer protector.

Member Data Documentation

◆ maxDb

float fsh::util::BufferProtector::Params::maxDb = +6.0f

Clamp all buffer samples to +/- this value (in dB).

If set to zero, clamping will not be performed.


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