summaryrefslogtreecommitdiffstats
path: root/contrib/edioutput/PFT.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-19 14:48:39 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2021-05-19 14:48:39 +0200
commit5ad4acef6721a67b8156cd6f7b45ad59849ca09b (patch)
treeadeedaa825f2ef2aa4f9b30265d007b6e7abe8ef /contrib/edioutput/PFT.h
parentc92c05d1199a2380d8c8c79a89c7e1f3159a2603 (diff)
downloadODR-AudioEnc-5ad4acef6721a67b8156cd6f7b45ad59849ca09b.tar.gz
ODR-AudioEnc-5ad4acef6721a67b8156cd6f7b45ad59849ca09b.tar.bz2
ODR-AudioEnc-5ad4acef6721a67b8156cd6f7b45ad59849ca09b.zip
Common 44ae39c: Make SEQ and PSEQ available on EDI receive and improve error handling
Diffstat (limited to 'contrib/edioutput/PFT.h')
-rw-r--r--contrib/edioutput/PFT.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/edioutput/PFT.h b/contrib/edioutput/PFT.h
index 4d138c5..42569a0 100644
--- a/contrib/edioutput/PFT.h
+++ b/contrib/edioutput/PFT.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2019
+ Copyright (C) 2021
Matthias P. Braendli, matthias.braendli@mpb.li
http://www.opendigitalradio.org
@@ -32,7 +32,6 @@
#pragma once
-#include "config.h"
#include <vector>
#include <list>
#include <stdexcept>
@@ -65,6 +64,8 @@ class PFT
// Cut a RSBlock into several fragments that can be transmitted
std::vector< std::vector<uint8_t> > ProtectAndFragment(AFPacket af_packet);
+ void OverridePSeq(uint16_t pseq);
+
private:
unsigned int m_k = 207; // length of RS data word
unsigned int m_m = 3; // number of fragments that can be recovered if lost