# AudioSampleFormat

`import { AudioSampleFormat } from "destack:audio/binding";`

PCM sample format.

```ds title="AudioSampleFormat"
export enum AudioSampleFormat {
    U8 = 1,
    S16 = 2,
    S24 = 3,
    S32 = 4,
    F32 = 5,
    F64 = 6,
}
```

[language/library/src/audio/binding/device.ds:39:52](https://github.com/destack-sh/destack/blob/main/language/library/src/audio/binding/device.ds#L39-L52)

## Variants

### `U8 = 1`

Unsigned 8-bit PCM.

### `S16 = 2`

Signed 16-bit PCM.

### `S24 = 3`

Signed 24-bit PCM in 32-bit containers.

### `S32 = 4`

Signed 32-bit PCM.

### `F32 = 5`

32-bit floating-point PCM.

### `F64 = 6`

64-bit floating-point PCM.
