# `Codex.Voice.Events.VoiceStreamEventAudio`
[🔗](https://github.com/nshkrdotcom/codex_sdk/blob/v0.16.1/lib/codex/voice/events.ex#L27)

Audio data event from the voice pipeline.

The `data` field contains PCM audio bytes, or `nil` to signal the end
of an audio segment.

# `t`

```elixir
@type t() :: %Codex.Voice.Events.VoiceStreamEventAudio{
  data: binary() | nil,
  type: :voice_stream_event_audio
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
