Switchboard SDK
Loading...
Searching...
No Matches
switchboard::ClippingDetectorNode Class Reference

Analyzes the audio and returns whether it was clipping in the last buffer. Accepts mono buffers. More...

#include <ClippingDetectorNode.hpp>

Inheritance diagram for switchboard::ClippingDetectorNode:

Public Member Functions

 ClippingDetectorNode ()
 Creates a ClippingDetectorNode instance.
 
const ClippingType getClipping () const
 Returns the clipping type in the last buffer.
 
bool setBusFormat (AudioBusFormat &busFormat) override
 
bool consume (AudioBus &bus) override
 

Detailed Description

Analyzes the audio and returns whether it was clipping in the last buffer. Accepts mono buffers.

ClippingDetectorNode

Member Function Documentation

◆ getClipping()

const ClippingType switchboard::ClippingDetectorNode::getClipping ( ) const

Returns the clipping type in the last buffer.

Returns
The clipping type in the last buffer.