setClippingDetectionEnabled method

void setClippingDetectionEnabled(
  1. bool enabled
)

Enable or disable clipping detection. When enabled, samples exceeding ±1.0 are counted by the engine.

Implementation

void setClippingDetectionEnabled(bool enabled) {
  if (_engine == ffi.nullptr) return;
  _setClippingDetectionEnabled(_engine, enabled ? 1 : 0);
}