Skip to main content

AudioSpec Struct

Audio-tensor metadata: sample rate, channel count, interleaving. More...

Declaration

struct simaai::neat::AudioSpec { ... }

Included Headers

#include <TensorCore.h>

Public Member Attributes Index

intsample_rate = 0

Hz. More...

intchannels = 0

Channel count (1 = mono, 2 = stereo). More...

boolinterleaved = ...

If true, channels are interleaved (LRLRLR…); if false, planar (LL…RR…). More...

Description

Audio-tensor metadata: sample rate, channel count, interleaving.

Definition at line 152 of file TensorCore.h.

Public Member Attributes

channels

int simaai::neat::AudioSpec::channels = 0

Channel count (1 = mono, 2 = stereo).

Definition at line 154 of file TensorCore.h.

154 int channels = 0;

interleaved

bool simaai::neat::AudioSpec::interleaved

If true, channels are interleaved (LRLRLR…); if false, planar (LL…RR…).

Initialiser
= true

Definition at line 155 of file TensorCore.h.

sample_rate

int simaai::neat::AudioSpec::sample_rate = 0

Hz.

Definition at line 153 of file TensorCore.h.

153 int sample_rate = 0;

The documentation for this struct was generated from the following file:


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.