Added in API level 28

Builder


class Builder
kotlin.Any
   ↳ android.media.audiofx.DynamicsProcessing.Config.Builder

Summary

Public constructors
Builder(variant: Int, channelCount: Int, preEqInUse: Boolean, preEqBandCount: Int, mbcInUse: Boolean, mbcBandCount: Int, postEqInUse: Boolean, postEqBandCount: Int, limiterInUse: Boolean)

Public methods
DynamicsProcessing.Config!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!
setChannelTo(channelIndex: Int, channel: DynamicsProcessing.Channel!)

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!
setInputGainByChannelIndex(channelIndex: Int, inputGain: Float)

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

DynamicsProcessing.Config.Builder!

Public constructors

Builder

Added in API level 28
Builder(
    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
fun build(): DynamicsProcessing.Config!

setAllChannelsTo

Added in API level 28
fun setAllChannelsTo(channel: DynamicsProcessing.Channel!): DynamicsProcessing.Config.Builder!

setChannelTo

Added in API level 28
fun setChannelTo(
    channelIndex: Int,
    channel: DynamicsProcessing.Channel!
): DynamicsProcessing.Config.Builder!

setInputGainAllChannelsTo

Added in API level 28
fun setInputGainAllChannelsTo(inputGain: Float): DynamicsProcessing.Config.Builder!

setInputGainByChannelIndex

Added in API level 28
fun setInputGainByChannelIndex(
    channelIndex: Int,
    inputGain: Float
): DynamicsProcessing.Config.Builder!

setLimiterAllChannelsTo

Added in API level 28
fun setLimiterAllChannelsTo(limiter: DynamicsProcessing.Limiter!): DynamicsProcessing.Config.Builder!

setLimiterByChannelIndex

Added in API level 28
fun setLimiterByChannelIndex(
    channelIndex: Int,
    limiter: DynamicsProcessing.Limiter!
): DynamicsProcessing.Config.Builder!

setMbcAllChannelsTo

Added in API level 28
fun setMbcAllChannelsTo(mbc: DynamicsProcessing.Mbc!): DynamicsProcessing.Config.Builder!

setMbcByChannelIndex

Added in API level 28
fun setMbcByChannelIndex(
    channelIndex: Int,
    mbc: DynamicsProcessing.Mbc!
): DynamicsProcessing.Config.Builder!

setPostEqAllChannelsTo

Added in API level 28
fun setPostEqAllChannelsTo(postEq: DynamicsProcessing.Eq!): DynamicsProcessing.Config.Builder!

setPostEqByChannelIndex

Added in API level 28
fun setPostEqByChannelIndex(
    channelIndex: Int,
    postEq: DynamicsProcessing.Eq!
): DynamicsProcessing.Config.Builder!

setPreEqAllChannelsTo

Added in API level 28
fun setPreEqAllChannelsTo(preEq: DynamicsProcessing.Eq!): DynamicsProcessing.Config.Builder!

setPreEqByChannelIndex

Added in API level 28
fun setPreEqByChannelIndex(
    channelIndex: Int,
    preEq: DynamicsProcessing.Eq!
): DynamicsProcessing.Config.Builder!

setPreferredFrameDuration

Added in API level 28
fun setPreferredFrameDuration(frameDuration: Float): DynamicsProcessing.Config.Builder!