coastline 0.0.4
Loading...
Searching...
No Matches
wavesample.h File Reference
#include <cstdint>
#include "ear/wavechunks.h"
Include dependency graph for wavesample.h:

Go to the source code of this file.

Classes

class  EarWaveSample
 A wave file loaded whole into memory, which a preset registers and sample playbacks share. More...

Enumerations

enum  EarWaveSampleSource : std::uint16_t { EAR_WAVE_SAMPLE_SOURCE_FILE = 0 , EAR_WAVE_SAMPLE_SOURCE_MEMORY = 2 }
 The source of a wave sample, as RegisterPreset passes it. More...

Enumeration Type Documentation

◆ EarWaveSampleSource

The source of a wave sample, as RegisterPreset passes it.

Enumerator
EAR_WAVE_SAMPLE_SOURCE_FILE 

A path to a wave file.

EAR_WAVE_SAMPLE_SOURCE_MEMORY 

A wave file in memory.