summaryrefslogtreecommitdiffstats
path: root/doc/advanced.mux
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-07 21:37:47 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-07 21:37:47 +0100
commit95b197a53c8314a68fd8cf73e495018844e7d708 (patch)
treed7a1f48c0c7f04bea34c9e19dc219195469df563 /doc/advanced.mux
parent33e51f5996c02c6a6aee27b57d91d90e3f1db5a2 (diff)
parent21d8cacffc1201514b0e1143f8de60e754262291 (diff)
downloaddabmux-95b197a53c8314a68fd8cf73e495018844e7d708.tar.gz
dabmux-95b197a53c8314a68fd8cf73e495018844e7d708.tar.bz2
dabmux-95b197a53c8314a68fd8cf73e495018844e7d708.zip
Merge rework of inputs into 'next'
This breaks the non-blocking fifo inputs, as it seems nobody is using them. It restores some UDP functionality, not necessarily in the same way as before.
Diffstat (limited to 'doc/advanced.mux')
-rw-r--r--doc/advanced.mux32
1 files changed, 30 insertions, 2 deletions
diff --git a/doc/advanced.mux b/doc/advanced.mux
index 8d460d2..41a3446 100644
--- a/doc/advanced.mux
+++ b/doc/advanced.mux
@@ -130,8 +130,17 @@ services {
}
; The subchannels are defined in the corresponding section.
-; supported types are : audio, bridge, data, enhancedpacket,
-; dabplus, dmb, packet, test
+; supported types are : audio, data, enhancedpacket,
+; dabplus, packet
+;
+; Type 'packet' expects to receive data in the format described
+; in EN 300 401 Clause 3.5.2.
+;
+; 'enhancedpacket' mode will calculate FEC for MSC packet mode
+; as described in EN 300 401 Clause 5.3.5.
+;
+; 'data' will read from the source and write it unmodified into
+; the MSC.
subchannels {
sub-fu {
type audio
@@ -235,6 +244,25 @@ subchannels {
zmq-buffer 40
zmq-prebuffering 20
}
+
+ ; 'prbs' will generate a pseudorandom bit sequence according to
+ ; ETS 300 799 Clause G.2.1. This is useful for testing purposes and
+ ; measurement of bit error rate.
+ sub-prbs {
+ type data
+
+ ; Use the default PRBS polynomial.
+ inputfile "prbs://"
+
+ ; To use another polynomial, set it in the url as hexadecimal
+ ; The default polynomial is G(x) = x^20 + x^17 + 1, represented as
+ ; (1 << 20) + (1 << 17) + (1 << 0) = 0x120001
+ ;inputuri "prbs://:0x120001
+
+ bitrate 16
+ id 5
+ protection 3
+ }
}
; For now, each component links one service to one subchannel