| 595 | } |
| 596 | |
| 597 | void DDPServer::ddpNotify(Format format, uint32_t offset, uint8_t bitsPerPixelElement, uint8_t* payload, uint16_t payloadSize, bool isFinal) |
| 598 | { |
| 599 | DDPCallback callback = nullptr; |
| 600 | |
| 601 | { |
| 602 | MutexGuard<Mutex> guard(m_mutex); |
| 603 | |
| 604 | callback = m_ddpCallback; |
| 605 | } |
| 606 | |
| 607 | if (nullptr != callback) |
| 608 | { |
| 609 | callback(format, offset, bitsPerPixelElement, payload, payloadSize, isFinal); |
| 610 | } |
| 611 | } |
| 612 | |
| 613 | void DDPServer::dmxNotify(uint32_t universe, uint8_t startCode, uint8_t* payload, uint16_t payloadSize) |
| 614 | { |
nothing calls this directly
no outgoing calls
no test coverage detected