audio/sample_playback.h file

A framework from playing back samples independent of the timeline, such as metronomes and samples from the browser.

Contents

Classes

struct SamplePlayback
A sample playback handle to be used by the engine.

Typedefs

using SamplePlayback = struct SamplePlayback
A sample playback handle to be used by the engine.

Defines

#define sample_playback_init(self, _buf, _buf_size, _channels, _vol, _start_offset)
Initializes a SamplePlayback with a sample to play back.