|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Definition at line 41 of file frame_count.hpp.
Static Public Member Functions | |
| static uint32_t | frames () |
| static void | advance (uint32_t frames) |
| static void | stamp (uint32_t ticks) |
| static FrameStamp | latest_stamp () |
| static void | reset_stamp () |
|
inlinestatic |
Frames delivered since boot (wraps; take unsigned deltas).
Definition at line 44 of file frame_count.hpp.
|
inlinestatic |
Audio driver only, after a block's callback: add its frames. Single writer, so a load/store pair replaces a read-modify-write (no LDREX/STREX).
Definition at line 50 of file frame_count.hpp.
References frames().
|
inlinestatic |
Audio driver only, before a block's callback: stamp the block it is about to compute.
Definition at line 55 of file frame_count.hpp.
References frames().
|
inlinestatic |
The latest stamp, for the audio callback's context (see the file comment).
Definition at line 58 of file frame_count.hpp.
|
inlinestatic |
Audio driver, on stop: no block is pending, so no stamp is current. The count keeps its value.
Definition at line 61 of file frame_count.hpp.