kopia lustrzana https://github.com/pabr/leansdr
leandvbtx: Signal S2 MATYPE as TS
rodzic
c4607faf5b
commit
67b124f8e7
|
@ -2056,7 +2056,7 @@ namespace leansdr {
|
|||
uint8_t *end = buf + framebytes;
|
||||
// EN 302 307-1 section 5.1.6 Base-Band Header insertion
|
||||
uint8_t *bbheader = buf;
|
||||
*buf++ = 0x30 | rolloff_code; // MATYPE-1: SIS, CCM
|
||||
*buf++ = 0xf0 | rolloff_code; // MATYPE-1: TS, SIS, CCM
|
||||
*buf++ = 0; // MATYPE-2
|
||||
uint16_t upl = 188 * 8;
|
||||
*buf++ = upl >> 8; // UPL MSB
|
||||
|
@ -2183,6 +2183,8 @@ namespace leansdr {
|
|||
if ( nw < 0 ) fatal("write(gse)");
|
||||
if ( nw != dfl/8 ) fail("partial write(gse");
|
||||
}
|
||||
} else {
|
||||
fprintf(stderr, "Unrecognized bbframe\n");
|
||||
}
|
||||
}
|
||||
void handle_ts(uint8_t *data, uint16_t dfl, uint16_t syncd, uint8_t sync) {
|
||||
|
|
Ładowanie…
Reference in New Issue