Skip to content
v2.278.0

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);
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

audio_bit_depth = medialive_alpha.AudioBitDepth.of(123)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;

AudioBitDepth audioBitDepth = AudioBitDepth.of(123);
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var audioBitDepth = AudioBitDepth.Of(123);
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

audioBitDepth := medialive_alpha.AudioBitDepth_Of(jsii.Number(123))

Properties ​

DEPTH_16AudioBitDepthDEPTH_16AudioBitDepthDEPTH_16AudioBitDepthDEPTH_16AudioBitDepthDEPTH_16AudioBitDepth static #
16-bit.
DEPTH_24AudioBitDepthDEPTH_24AudioBitDepthDEPTH_24AudioBitDepthDEPTH_24AudioBitDepthDEPTH_24AudioBitDepth static #
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) AudioBitDepth static #
A custom bit depth.
1 parameter

Parameters

  • bitsbitsbitsbitsBits — the bit depth.