DynamicsProcessing.BandStage


public static class DynamicsProcessing.BandStage
extends DynamicsProcessing.Stage

java.lang.Object
   ↳ android.media.audiofx.DynamicsProcessing.Stage
     ↳ android.media.audiofx.DynamicsProcessing.BandStage


Base class for stages that hold bands

Summary

Public constructors

BandStage(boolean inUse, boolean enabled, int bandCount)

Class constructor for BandStage

Public methods

int getBandCount()

gets number of bands held in this stage

String toString()

Returns a string representation of the object.

Inherited methods

Public constructors

BandStage

Added in API level 28
public BandStage (boolean inUse, 
                boolean enabled, 
                int bandCount)

Class constructor for BandStage

Parameters
inUse boolean: true if this stage is set to be used. False otherwise. Stages that are not set "inUse" at initialization time are not available to be used at any time.

enabled boolean: true if this stage is currently used to process sound. When disabled, the stage is bypassed and the sound is copied unaltered from input to output.

bandCount int: number of bands this stage will handle. If stage is not inUse, bandcount is set to 0

Public methods

getBandCount

Added in API level 28
public int getBandCount ()

gets number of bands held in this stage

Returns
int number of bands held in this stage

toString

Added in API level 28
public String toString ()

Returns a string representation of the object.

Returns
String a string representation of the object.