Skip to content

Conversation

@PharosMarcusB
Copy link
Contributor

DMX can contain idle periods between slots (MTBS), and then resume. The DMX reception code was treating idle as the end of the frame, this meant that some older, slightly slower, or even radio based equipment; transmission sources would likely only be part decoded.

For "dimmer data" (start code 0), this change now treats the break of the next frame as the end of the previous.
To combat potentially processing the last frame data as it's changing with the next, a double buffer system is now used.

The magic number slot count flag has also been cleaned up.

DMX can contain idle periods between slots (MTBS), and then resume.
The DMX reception code was treating idle as the end of the frame, this
meant that some older, slightly slower, or even radio based equipment;
transmission sources would likely only be part decoded.

For "dimmer data" (start code 0), this change now treats the break of
the next frame as the end of the previous.
To combat potentially processing the last frame data as it's changing
with the next, a double buffer system is now used.

The magic number slot count flag has also been cleaned up.
@vanvught
Copy link
Owner

Thanks!

@vanvught vanvught merged commit f5c08f5 into vanvught:development Jun 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants