struct
InputRecordingHeader
On-disk format for recorded input streams (.mirec).
- Module
- Input
- Header
#include "Input/InputRecording.h"- Namespace
Mowo
Header (56 bytes) followed by a stream of tagged events. Events that share a frame are written sequentially; a FrameMarker byte separates frames. The first frame has no leading marker — the marker is a "frame N just ended" signal, not a "frame N starts here" one. Recording stops after the final frame marker is written, so playback knows the stream is complete.
All multi-byte fields are little-endian. The format is host-portable in theory but in practice only x86_64 / arm64 little-endian is exercised.
Properties
| Type | Name | Description |
|---|---|---|
char[4] | magic | "MIRP" |
uint32_t | version | currently 1 |
uint64_t | frameCount | number of FrameMarker events |
uint64_t | eventCount | events excluding markers |
uint64_t[4] | reserved | zero — leaves room for future header fields |
Generated from Input/InputRecording.h via input.json · Nov 2, 2026Version 1.0.0