Added in API level 28
DynamicsProcessing.Config.Builder
public
static
final
class
DynamicsProcessing.Config.Builder
extends Object
java.lang.Object | |
↳ | android.media.audiofx.DynamicsProcessing.Config.Builder |
Summary
Public constructors | |
---|---|
Builder(int variant, int channelCount, boolean preEqInUse, int preEqBandCount, boolean mbcInUse, int mbcBandCount, boolean postEqInUse, int postEqBandCount, boolean limiterInUse)
|
Inherited methods | |
---|---|
Public constructors
Builder
Added in API level 28
public 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
build
Added in API level 28
public DynamicsProcessing.Config build ()
Returns | |
---|---|
DynamicsProcessing.Config |
setAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setAllChannelsTo (DynamicsProcessing.Channel channel)
Parameters | |
---|---|
channel |
DynamicsProcessing.Channel |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setChannelTo
Added in API level 28
public DynamicsProcessing.Config.Builder setChannelTo (int channelIndex, DynamicsProcessing.Channel channel)
Parameters | |
---|---|
channelIndex |
int |
channel |
DynamicsProcessing.Channel |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setInputGainAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setInputGainAllChannelsTo (float inputGain)
Parameters | |
---|---|
inputGain |
float |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setInputGainByChannelIndex
Added in API level 28
public DynamicsProcessing.Config.Builder setInputGainByChannelIndex (int channelIndex, float inputGain)
Parameters | |
---|---|
channelIndex |
int |
inputGain |
float |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setLimiterAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setLimiterAllChannelsTo (DynamicsProcessing.Limiter limiter)
Parameters | |
---|---|
limiter |
DynamicsProcessing.Limiter |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setLimiterByChannelIndex
Added in API level 28
public DynamicsProcessing.Config.Builder setLimiterByChannelIndex (int channelIndex, DynamicsProcessing.Limiter limiter)
Parameters | |
---|---|
channelIndex |
int |
limiter |
DynamicsProcessing.Limiter |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setMbcAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setMbcAllChannelsTo (DynamicsProcessing.Mbc mbc)
Parameters | |
---|---|
mbc |
DynamicsProcessing.Mbc |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setMbcByChannelIndex
Added in API level 28
public DynamicsProcessing.Config.Builder setMbcByChannelIndex (int channelIndex, DynamicsProcessing.Mbc mbc)
Parameters | |
---|---|
channelIndex |
int |
mbc |
DynamicsProcessing.Mbc |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setPostEqAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setPostEqAllChannelsTo (DynamicsProcessing.Eq postEq)
Parameters | |
---|---|
postEq |
DynamicsProcessing.Eq |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setPostEqByChannelIndex
Added in API level 28
public DynamicsProcessing.Config.Builder setPostEqByChannelIndex (int channelIndex, DynamicsProcessing.Eq postEq)
Parameters | |
---|---|
channelIndex |
int |
postEq |
DynamicsProcessing.Eq |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setPreEqAllChannelsTo
Added in API level 28
public DynamicsProcessing.Config.Builder setPreEqAllChannelsTo (DynamicsProcessing.Eq preEq)
Parameters | |
---|---|
preEq |
DynamicsProcessing.Eq |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setPreEqByChannelIndex
Added in API level 28
public DynamicsProcessing.Config.Builder setPreEqByChannelIndex (int channelIndex, DynamicsProcessing.Eq preEq)
Parameters | |
---|---|
channelIndex |
int |
preEq |
DynamicsProcessing.Eq |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |
setPreferredFrameDuration
Added in API level 28
public DynamicsProcessing.Config.Builder setPreferredFrameDuration (float frameDuration)
Parameters | |
---|---|
frameDuration |
float |
Returns | |
---|---|
DynamicsProcessing.Config.Builder |