
commonMain.aws.sdk.kotlin.services.medialive.model.Eac3AtmosSettings.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.medialive.model
/**
* Eac3 Atmos Settings
*/
public class Eac3AtmosSettings private constructor(builder: Builder) {
/**
* Average bitrate in bits/second. Valid bitrates depend on the coding mode. // * @affectsRightSizing true
*/
public val bitrate: kotlin.Double = builder.bitrate
/**
* Dolby Digital Plus with Dolby Atmos coding mode. Determines number of channels.
*/
public val codingMode: aws.sdk.kotlin.services.medialive.model.Eac3AtmosCodingMode? = builder.codingMode
/**
* Sets the dialnorm for the output. Default 23.
*/
public val dialnorm: kotlin.Int = builder.dialnorm
/**
* Sets the Dolby dynamic range compression profile.
*/
public val drcLine: aws.sdk.kotlin.services.medialive.model.Eac3AtmosDrcLine? = builder.drcLine
/**
* Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
*/
public val drcRf: aws.sdk.kotlin.services.medialive.model.Eac3AtmosDrcRf? = builder.drcRf
/**
* Height dimensional trim. Sets the maximum amount to attenuate the height channels when the downstream player isn??t configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
*/
public val heightTrim: kotlin.Double = builder.heightTrim
/**
* Surround dimensional trim. Sets the maximum amount to attenuate the surround channels when the downstream player isn't configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
*/
public val surroundTrim: kotlin.Double = builder.surroundTrim
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.medialive.model.Eac3AtmosSettings = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("Eac3AtmosSettings(")
append("bitrate=$bitrate,")
append("codingMode=$codingMode,")
append("dialnorm=$dialnorm,")
append("drcLine=$drcLine,")
append("drcRf=$drcRf,")
append("heightTrim=$heightTrim,")
append("surroundTrim=$surroundTrim")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = bitrate.hashCode()
result = 31 * result + (codingMode?.hashCode() ?: 0)
result = 31 * result + (dialnorm)
result = 31 * result + (drcLine?.hashCode() ?: 0)
result = 31 * result + (drcRf?.hashCode() ?: 0)
result = 31 * result + (heightTrim.hashCode())
result = 31 * result + (surroundTrim.hashCode())
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (other == null || this::class != other::class) return false
other as Eac3AtmosSettings
if (bitrate != other.bitrate) return false
if (codingMode != other.codingMode) return false
if (dialnorm != other.dialnorm) return false
if (drcLine != other.drcLine) return false
if (drcRf != other.drcRf) return false
if (heightTrim != other.heightTrim) return false
if (surroundTrim != other.surroundTrim) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.medialive.model.Eac3AtmosSettings = Builder(this).apply(block).build()
public class Builder {
/**
* Average bitrate in bits/second. Valid bitrates depend on the coding mode. // * @affectsRightSizing true
*/
public var bitrate: kotlin.Double = 0.0
/**
* Dolby Digital Plus with Dolby Atmos coding mode. Determines number of channels.
*/
public var codingMode: aws.sdk.kotlin.services.medialive.model.Eac3AtmosCodingMode? = null
/**
* Sets the dialnorm for the output. Default 23.
*/
public var dialnorm: kotlin.Int = 0
/**
* Sets the Dolby dynamic range compression profile.
*/
public var drcLine: aws.sdk.kotlin.services.medialive.model.Eac3AtmosDrcLine? = null
/**
* Sets the profile for heavy Dolby dynamic range compression, ensures that the instantaneous signal peaks do not exceed specified levels.
*/
public var drcRf: aws.sdk.kotlin.services.medialive.model.Eac3AtmosDrcRf? = null
/**
* Height dimensional trim. Sets the maximum amount to attenuate the height channels when the downstream player isn??t configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
*/
public var heightTrim: kotlin.Double = 0.0
/**
* Surround dimensional trim. Sets the maximum amount to attenuate the surround channels when the downstream player isn't configured to handle Dolby Digital Plus with Dolby Atmos and must remix the channels.
*/
public var surroundTrim: kotlin.Double = 0.0
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.medialive.model.Eac3AtmosSettings) : this() {
this.bitrate = x.bitrate
this.codingMode = x.codingMode
this.dialnorm = x.dialnorm
this.drcLine = x.drcLine
this.drcRf = x.drcRf
this.heightTrim = x.heightTrim
this.surroundTrim = x.surroundTrim
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.medialive.model.Eac3AtmosSettings = Eac3AtmosSettings(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy