Sound

Variables

Name

Type

Description

channels

uint8_t

The number of channels (1 for Mono, 2 for Stereo, etc.).

sampleRate

int32_t

The sound’s sample rate.

bitsPerSample

uint8_t

The number of bits per sample.

size

size_t

The sound’s size.

data

std::vector<uint8_t>

The sound’s content.