DynamicsProcessing.Config.Builder

public static final class DynamicsProcessing.Config.Builder
extends Object

java.lang.Object
   ↳ android.media.audiofx.DynamicsProcessing.Config.Builder


Summary

Public constructors

DynamicsProcessing.Config.Builder(int variant, int channelCount, boolean preEqInUse, int preEqBandCount, boolean mbcInUse, int mbcBandCount, boolean postEqInUse, int postEqBandCount, boolean limiterInUse)

Public methods

DynamicsProcessing.Config build()
DynamicsProcessing.Config.Builder setAllChannelsTo(DynamicsProcessing.Channel channel)
DynamicsProcessing.Config.Builder setChannelTo(int channelIndex, DynamicsProcessing.Channel channel)
DynamicsProcessing.Config.Builder setInputGainAllChannelsTo(float inputGain)
DynamicsProcessing.Config.Builder setInputGainByChannelIndex(int channelIndex, float inputGain)
DynamicsProcessing.Config.Builder setLimiterAllChannelsTo(DynamicsProcessing.Limiter limiter)
DynamicsProcessing.Config.Builder setLimiterByChannelIndex(int channelIndex, DynamicsProcessing.Limiter limiter)
DynamicsProcessing.Config.Builder setMbcAllChannelsTo(DynamicsProcessing.Mbc mbc)
DynamicsProcessing.Config.Builder setMbcByChannelIndex(int channelIndex, DynamicsProcessing.Mbc mbc)
DynamicsProcessing.Config.Builder setPostEqAllChannelsTo(DynamicsProcessing.Eq postEq)
DynamicsProcessing.Config.Builder setPostEqByChannelIndex(int channelIndex, DynamicsProcessing.Eq postEq)
DynamicsProcessing.Config.Builder setPreEqAllChannelsTo(DynamicsProcessing.Eq preEq)
DynamicsProcessing.Config.Builder setPreEqByChannelIndex(int channelIndex, DynamicsProcessing.Eq preEq)
DynamicsProcessing.Config.Builder setPreferredFrameDuration(float frameDuration)

Inherited methods

Public constructors

DynamicsProcessing.Config.Builder

DynamicsProcessing.Config.Builder (int variant, 
                int channelCount, 
                boolean preEqInUse, 
                int preEqBandCount, 
                boolean mbcInUse, 
                int mbcBandCount, 
                boolean postEqInUse, 
                int postEqBandCount, 
                boolean limiterInUse)

Parameters
variant int

channelCount int

preEqInUse boolean

preEqBandCount int

mbcInUse boolean

mbcBandCount int

postEqInUse boolean

postEqBandCount int

limiterInUse boolean

Public methods

setAllChannelsTo

DynamicsProcessing.Config.Builder setAllChannelsTo (DynamicsProcessing.Channel channel)

Parameters
channel DynamicsProcessing.Channel

Returns
DynamicsProcessing.Config.Builder

setChannelTo

DynamicsProcessing.Config.Builder setChannelTo (int channelIndex, 
                DynamicsProcessing.Channel channel)

Parameters
channelIndex int

channel DynamicsProcessing.Channel

Returns
DynamicsProcessing.Config.Builder

setInputGainAllChannelsTo

DynamicsProcessing.Config.Builder setInputGainAllChannelsTo (float inputGain)

Parameters
inputGain float

Returns
DynamicsProcessing.Config.Builder

setInputGainByChannelIndex

DynamicsProcessing.Config.Builder setInputGainByChannelIndex (int channelIndex, 
                float inputGain)

Parameters
channelIndex int

inputGain float

Returns
DynamicsProcessing.Config.Builder

setLimiterAllChannelsTo

DynamicsProcessing.Config.Builder setLimiterAllChannelsTo (DynamicsProcessing.Limiter limiter)

Parameters
limiter DynamicsProcessing.Limiter

Returns
DynamicsProcessing.Config.Builder

setLimiterByChannelIndex

DynamicsProcessing.Config.Builder setLimiterByChannelIndex (int channelIndex, 
                DynamicsProcessing.Limiter limiter)

Parameters
channelIndex int

limiter DynamicsProcessing.Limiter

Returns
DynamicsProcessing.Config.Builder

setMbcAllChannelsTo

DynamicsProcessing.Config.Builder setMbcAllChannelsTo (DynamicsProcessing.Mbc mbc)

Parameters
mbc DynamicsProcessing.Mbc

Returns
DynamicsProcessing.Config.Builder

setMbcByChannelIndex

DynamicsProcessing.Config.Builder setMbcByChannelIndex (int channelIndex, 
                DynamicsProcessing.Mbc mbc)

Parameters
channelIndex int

mbc DynamicsProcessing.Mbc

Returns
DynamicsProcessing.Config.Builder

setPostEqAllChannelsTo

DynamicsProcessing.Config.Builder setPostEqAllChannelsTo (DynamicsProcessing.Eq postEq)

Parameters
postEq DynamicsProcessing.Eq

Returns
DynamicsProcessing.Config.Builder

setPostEqByChannelIndex

DynamicsProcessing.Config.Builder setPostEqByChannelIndex (int channelIndex, 
                DynamicsProcessing.Eq postEq)

Parameters
channelIndex int

postEq DynamicsProcessing.Eq

Returns
DynamicsProcessing.Config.Builder

setPreEqAllChannelsTo

DynamicsProcessing.Config.Builder setPreEqAllChannelsTo (DynamicsProcessing.Eq preEq)

Parameters
preEq DynamicsProcessing.Eq

Returns
DynamicsProcessing.Config.Builder

setPreEqByChannelIndex

DynamicsProcessing.Config.Builder setPreEqByChannelIndex (int channelIndex, 
                DynamicsProcessing.Eq preEq)

Parameters
channelIndex int

preEq DynamicsProcessing.Eq

Returns
DynamicsProcessing.Config.Builder

setPreferredFrameDuration

DynamicsProcessing.Config.Builder setPreferredFrameDuration (float frameDuration)

Parameters
frameDuration float

Returns
DynamicsProcessing.Config.Builder