reactor-c 1.0
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
lf_waveform_t Struct Reference

Waveform in 16-bit linear-PCM format. More...

#include <wave_file_reader.h>

Data Fields

uint32_t length
uint16_t num_channels
int16_t * waveform

Detailed Description

Waveform in 16-bit linear-PCM format.

The waveform element is an array containing audio samples. If there are two channels, then they are interleaved left and right channel. The length is the total number of samples, a multiple of the number of channels.

Field Documentation

◆ length

uint32_t lf_waveform_t::length

◆ num_channels

uint16_t lf_waveform_t::num_channels

◆ waveform

int16_t* lf_waveform_t::waveform

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