# AudioStreamMode

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

Audio stream transfer contract.

```ds title="AudioStreamMode"
export enum AudioStreamMode {
    Buffered = 1,
    Realtime = 2,
}
```

[language/library/src/audio/binding/stream.ds:27:32](https://github.com/destack-sh/destack/blob/main/language/library/src/audio/binding/stream.ds#L27-L32)

## Variants

### `Buffered = 1`

Caller moves audio through read and write calls.

### `Realtime = 2`

Runtime processes audio on the host audio deadline.
