Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
scheduler.hpp File Reference

The control context: one base tick, divider slots,. More...

Detailed Description

The control context: one base tick, divider slots,.

Definition in file scheduler.hpp.

#include <cstdint>

Go to the source code of this file.

Classes

class  sbl::control::Scheduler< Slots, Capacity >
 

Namespaces

namespace  sbl
 Root namespace for all Sound Byte Libs code.
 
namespace  sbl::control
 Control Stack v2: scheduler, event queue, merge, CC mapping, calibration, presets.
 

Typedefs

using sbl::control::TickFn = void(*)(void *context, uint32_t elapsed_samples)
 Subscriber callback: context pointer and samples elapsed since its slot last ran.
 

Enumerations

enum class  sbl::control::Stage : uint8_t { sbl::control::Drain , sbl::control::Update , sbl::control::Merge , sbl::control::Publish }
 Intra-tick order. Every due subscriber of a stage runs before any of the next. More...
 

Variables

constexpr uint8_t sbl::control::kStageCount = 4