Implemented basic version of DTSC::RetimedPacket

This commit is contained in:
Thulinma 2018-06-29 11:34:15 +02:00
parent 921e6827dc
commit ee195f0089
2 changed files with 20 additions and 3 deletions

View file

@ -364,9 +364,9 @@ namespace Mist {
//finish container with 0x0000EE
memcpy(myPage.mapped+ivecOffset+19, "\000\000\356", 3);
}
//Copy the remaing values in reverse order:
//Copy the remaining values in reverse order:
//8 byte timestamp
memcpy(myPage.mapped + curOffset + 12, pack.getData() + 12, 8);
Bit::htobll(myPage.mapped + curOffset + 12, pack.getTime());
//The mapped track id
((int *)(myPage.mapped + curOffset + 8))[0] = htonl(mapTid);
int size = Bit::btohl(pack.getData() + 4);