1
0
Fork 0

sending sACN is not virtual

This commit is contained in:
Kevin Matz 2021-09-01 12:41:15 -04:00
parent dfeaf646e1
commit b3256be388
1 changed files with 10 additions and 2 deletions

View File

@ -82,13 +82,21 @@ protected:
*/
uint16_t active_data_slots;
virtual void sACNsend() const;
void sACNsend() const;
private:
std::shared_ptr<DATA::data_header> provenance_;
std::vector<uint8_t> * sync_data_ = nullptr;
uint8_t sync_sequence_ = 0;
Source* source_;
/// > \cite sACN 6.3.2 E1.31 Synchronization Packet: Sequence Number
/// >
/// > Sources shall maintain a sequence for each universe they transmit.
/// > The sequence number for a universe shall be incremented by one for
/// > every packet sent on that universe. There is no implied relationship
/// > between the sequence number of an E1.31 Synchronization Packet and
/// > the sequence number of an E1.31 Data Packet on that same universe.
uint8_t sync_sequence_ = 0;
};
} // SACN namespace