Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
AudioBitDepth Class
Audio bit depth for WAV codec.
Use one of the standard presets or AudioBitDepth.of(bits) for a custom value.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const audioBitDepth = medialive_alpha.AudioBitDepth.of(123);
Properties
DEPTH_16AudioBitDepthdepth_16AudioBitDepthDEPTH_16AudioBitDepthDEPTH_16AudioBitDepthDEPTH_16AudioBitDepthrequiredstatic#16-bit.
DEPTH_24AudioBitDepthdepth_24AudioBitDepthDEPTH_24AudioBitDepthDEPTH_24AudioBitDepthDEPTH_24AudioBitDepthrequiredstatic#24-bit.
Methods
of(bits: number): AudioBitDepth // chainable@staticmethod def of(bits: int | float) -> AudioBitDepthpublic static AudioBitDepth of(Number bits)public static AudioBitDepth Of(double bits)func Of(Bits *float64) AudioBitDepthstatic#A custom bit depth.
1 parameter
Parameters
bitsbitsbitsbitsBits— the bit depth.