Skip to content

Conversation

@VzhelevVector
Copy link
Collaborator

Modified GetChannelBitResolution() to return 16-bit for virtual channels (channels with no DMX addresses). Added DMX value conversion logic that preserves ordering when reading old 32-bit GDTF files: non-zero values smaller than 1.0 are forced to 1 to prevent them from truncating to 0, which would break ChannelSet validation that requires strictly increasing DMX values. Added proper rounding and clamping to handle floating-point precision errors during resolution conversion.

@VzhelevVector VzhelevVector removed the request for review from adragnevVW December 11, 2025 12:29
@VzhelevVector VzhelevVector merged commit 71486ec into master Dec 11, 2025
1 check passed
@VzhelevVector VzhelevVector deleted the virtual-resolution-v2.2 branch December 11, 2025 12:48
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.

3 participants