sACN  HEAD (unstable)
Implementation of ANSI E1.31 (Streaming ACN)
View other versions:
Loading...
Searching...
No Matches
SacnDmxMergerSource Struct Reference

The current input data for a single source of the merge. More...

#include <dmx_merger.h>

Public Attributes

sacn_dmx_merger_source_t id
 The merger's ID for the DMX source.
 
uint8_t levels [SACN_DMX_MERGER_MAX_SLOTS]
 The DMX NULL start code data (0 - 255).
 
size_t valid_level_count
 Some sources don't send all 512 levels, so here's how much of levels to use.
 
uint8_t universe_priority
 The sACN per-universe priority (0 - 200).
 
uint8_t address_priority [SACN_DMX_MERGER_MAX_SLOTS]
 The sACN per-address (startcode 0xdd) priority (1-255, 0 means not sourced).
 
bool using_universe_priority
 Whether or not the source is currently using universe priority (converted to address priorities) for the merge.
 

Detailed Description

The current input data for a single source of the merge.

This is exposed as read-only information.

Member Data Documentation

◆ address_priority

uint8_t SacnDmxMergerSource::address_priority[SACN_DMX_MERGER_MAX_SLOTS]

The sACN per-address (startcode 0xdd) priority (1-255, 0 means not sourced).

If the source is using universe priority, then using_universe_priority will be true, and this array contains the universe priority converted to per-address priorities (so 0 is converted to 1s). These are the priorities that will actually be used for the merge. Priorities beyond valid_level_count are automatically zeroed.


The documentation for this struct was generated from the following file: