peakLevel

actual val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.

actual val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.

expect val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.

actual val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.

actual val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.

actual val peakLevel: Float

Current peak audio level from the most recently processed callback buffer.

Values range from 0.0f (silence) to 1.0f (full scale, 0 dBFS). This property is updated on every audio callback and is intended for driving level meters or VU displays. It is primarily consumed by the klarinet-coroutines module, which exposes it as a Flow.

For input streams, this reflects the peak level of the captured audio. For output streams, it reflects the peak level of the rendered audio.

This property is thread-safe and can be read from any thread.