> **Experimental**
>
> `@aws-cdk/aws-medialive-alpha` is an [**experimental**](https://docs.aws.amazon.com/cdk/api/stability.html) (alpha) package: its API may change in any release, without a major version bump.
# AudioBitDepth

Audio bit depth for WAV codec.

Use one of the standard presets or `AudioBitDepth.of(bits)` for a custom value.

Obtainable from: AudioBitDepth.DEPTH_16, AudioBitDepth.DEPTH_24, AudioBitDepth.of

- Stability: [Experimental](https://docs.aws.amazon.com/cdk/api/stability.html)
- Source: [`lib/audio-codec-settings.ts`](https://github.com/aws/aws-cdk/blob/v2.278.0/packages/@aws-cdk/aws-medialive-alpha/lib/audio-codec-settings.ts#L52)

## Example

TypeScript:

```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:

```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:

```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);
```

C# / .NET:

```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);
```

Golang:

```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_16`: [AudioBitDepth](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.AudioBitDepth.html) (static) — 16-bit.

- `DEPTH_24`: [AudioBitDepth](https://docs.aws.amazon.com/cdk/api/v2/docs/@aws-cdk_aws-medialive-alpha.AudioBitDepth.html) (static) — 24-bit.

## Methods

- `of(bits: number): AudioBitDepth // chainable` (static) — A custom bit depth.

  **Parameters**

  - `bits` — the bit depth.
