vanvught / rpidmx512

Orange Pi DMX512 / RDM / MIDI / OSC / Art-Net / WS28xx / L6470 / Stepper / TLC59711 / PCA9685 / Servo / PWM / TCNet / SMPTE / RDMNet / LLRP / GD32 / GigaDevice / Raspberry Pi
http://www.orangepi-dmx.org/
MIT License
391 stars 108 forks source link

Introduce shared DMX data management #218

Closed vanvught closed 2 years ago

vanvught commented 2 years ago

Currently both the sACN E1.31 and the Art-Net implementations has its own DMX data management for the output ports.

Memory usage per port: 512 bytes Source A, 512 bytes Source B and 512 bytes for output port data.

Introducing a singleton class lightset::Data would reduce the RAM usage with factor 2.

This new class would also give the opportunity implementing other merge options. For example: sACN with DMX512 -> DMX512

cc: @hippyau