Skip to main content

ClikaRT::io::AudioInfo

struct

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 is exactly the count load_audio with the same targets returns (duration in seconds = frames/sample_rate).

Data members​

sample_rate​

int sample_rate

Hz.

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

channels​

int channels

interleaved channels

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

frames​

std::int64_t frames

samples per channel

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