Added in API level 28
Mbc
class Mbc : DynamicsProcessing.BandStage
kotlin.Any | |||
↳ | android.media.audiofx.DynamicsProcessing.Stage | ||
↳ | android.media.audiofx.DynamicsProcessing.BandStage | ||
↳ | android.media.audiofx.DynamicsProcessing.Mbc |
Class for Multi-Band Compressor (MBC) stage
Summary
Public constructors | |
---|---|
Constructor for Multi-Band Compressor (MBC) stage |
|
Mbc(cfg: DynamicsProcessing.Mbc!) Class constructor for MBC stage |
Public methods | |
---|---|
DynamicsProcessing.MbcBand! |
Gets MbcBand object for band of interest. |
Unit |
setBand(band: Int, bandCfg: DynamicsProcessing.MbcBand!) Sets MbcBand object for given band index |
String |
toString() |
Inherited functions | |
---|---|
Public constructors
Mbc
Added in API level 28
Mbc(
inUse: Boolean,
enabled: Boolean,
bandCount: Int)
Constructor for Multi-Band Compressor (MBC) stage
Parameters | |
---|---|
inUse |
Boolean: true if MBC stage will be used, false otherwise. |
enabled |
Boolean: true if MBC stage is enabled/disabled. This can be changed while effect is running |
bandCount |
Int: number of bands for this MBC stage. Can't be changed while effect is running |
Mbc
Added in API level 28
Mbc(cfg: DynamicsProcessing.Mbc!)
Class constructor for MBC stage
Parameters | |
---|---|
cfg |
DynamicsProcessing.Mbc!: copy constructor |
Public methods
getBand
Added in API level 28
fun getBand(band: Int): DynamicsProcessing.MbcBand!
Gets MbcBand object for band of interest.
Parameters | |
---|---|
band |
Int: index of band of interest |
Return | |
---|---|
DynamicsProcessing.MbcBand! |
MbcBand Object |
setBand
Added in API level 28
fun setBand(
band: Int,
bandCfg: DynamicsProcessing.MbcBand!
): Unit
Sets MbcBand object for given band index
Parameters | |
---|---|
band |
Int: index of band to be modified |
bandCfg |
DynamicsProcessing.MbcBand!: MbcBand object. |
toString
Added in API level 28
fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |