ProfileProcessor

An open native profile processor. Build it off the audio thread.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The stages applied, in order.

Functions

Link copied to clipboard
fun close()

Releases the native processor. Safe to call again.

Link copied to clipboard
fun curve(points: Int = 128): ProfileCurve

The graph of the exact final cascade, including boosts and preamp.

Link copied to clipboard
fun process(buffer: ByteBuffer, offset: Int = buffer.position(), count: Int = buffer.remaining()): Int

Processes whole frames in place and returns the bytes processed.

Link copied to clipboard
fun reset()

Clears filter state and clipping counters; call it on a seek or flush.

Link copied to clipboard

The effective preamp, peak, clipping counters and applied stages.