# AmplitudeEffect

class AmplitudeEffect(listener: AmplitudeEffect.Listener) : CustomAudioEffect

Calculate the amplitude in each buffer and return the result

## Constructors

AmplitudeEffect
Link copied to clipboard
constructor(listener: AmplitudeEffect.Listener)

## Types

Listener
Link copied to clipboard
interface Listener

## Functions

isRunning
Link copied to clipboard
fun isRunning(): Boolean
process
Link copied to clipboard
open override fun process(pcmBuffer: ByteArray): ByteArray
start
Link copied to clipboard
fun start()
stop
Link copied to clipboard
fun stop()