FuncDoodle
Loading...
Searching...
No Matches
FuncDoodle::AudioData Struct Reference

Represents raw PCM audio data. More...

#include <Audio.h>

Public Attributes

std::vector< float > samples
 Interleaved PCM samples in float format.
int sampleRate
 Sample rate in Hz.
int numChannels
 Number of audio channels in the sample buffer.
size_t cur = 0
 Current playback frame offset.
size_t total = 0
 Total number of frames available.

Detailed Description

Represents raw PCM audio data.

Member Data Documentation

◆ cur

size_t FuncDoodle::AudioData::cur = 0

Current playback frame offset.

◆ numChannels

int FuncDoodle::AudioData::numChannels

Number of audio channels in the sample buffer.

◆ sampleRate

int FuncDoodle::AudioData::sampleRate

Sample rate in Hz.

◆ samples

std::vector<float> FuncDoodle::AudioData::samples

Interleaved PCM samples in float format.

◆ total

size_t FuncDoodle::AudioData::total = 0

Total number of frames available.


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