---
title: "ClikaRT::io::AudioInfo"
sidebar_label: "AudioInfo"
description: "An audio stream's effective layout, read from its header. With non-zero target_* the figures reflect what a decode to that target produces: frames is exactly the count load_audio with the same targets…"
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--struct">struct</span>

**Header:** `ClikaRT/io/io.h`

An audio stream's effective layout, read from its header. With non-zero `target_*` the figures reflect what a decode to that target produces: [`frames`](./AudioInfo.md#frames) is exactly the count [`load_audio`](./index.md#load_audio) with the same targets returns (duration in seconds = [`frames`](./AudioInfo.md#frames)` / `[`sample_rate`](./AudioInfo.md#sample_rate)).

## Data members

### sample\_rate {#sample_rate}

<div class="api-signature">

`int` **`sample_rate`**

</div>

Hz.

<div class="api-declared">

Declared in `ClikaRT/io/io.h`, line 46

</div>

### channels {#channels}

<div class="api-signature">

`int` **`channels`**

</div>

interleaved channels

<div class="api-declared">

Declared in `ClikaRT/io/io.h`, line 47

</div>

### frames {#frames}

<div class="api-signature">

`std::int64_t` **`frames`**

</div>

samples per channel

<div class="api-declared">

Declared in `ClikaRT/io/io.h`, line 48

</div>
