Skip to main content

Module events

Module events 

Source
Expand description

Controller states, hints, events and statistics.

Every enum has a stable u32 code (code()), used by the C-ABI mirror; codes are never renumbered. Event converts to the #[repr(C)] EventRecord with Event::to_record; the a / b meaning per kind is the table on EventRecord.

Modules§

kind
Event kind codes (stable).

Structs§

EventRecord
Plain-data, #[repr(C)] form of an Event for a C ABI.
Stats
Controller statistics.

Enums§

Event
A decision for the caller. Media positions are in the playback (PTS) domain as 27 MHz ticks (PTS90k x 300), i.e. the domain of on_media and on_tick’s playback.
Hint
Out-of-band input the caller reports. Non-authoritative except where stated: starvation is only ever declared from lead and the clock.
Reason
Why the controller is not playing.
State
Controller state.