aboutsummaryrefslogtreecommitdiffstats
path: root/src/fig/FIG.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-28 20:16:48 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-02-28 20:16:48 +0100
commitf07e3c8c34218523767f49bb5878d95093a2e904 (patch)
tree80ca7ff6b191d630bf8515c9fd15e3fda342a831 /src/fig/FIG.cpp
parent5c89c0ec736770c94f97ced8a754c467d8536a09 (diff)
downloaddabmux-f07e3c8c34218523767f49bb5878d95093a2e904.tar.gz
dabmux-f07e3c8c34218523767f49bb5878d95093a2e904.tar.bz2
dabmux-f07e3c8c34218523767f49bb5878d95093a2e904.zip
Increase FIG deadlines
Diffstat (limited to 'src/fig/FIG.cpp')
-rw-r--r--src/fig/FIG.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/fig/FIG.cpp b/src/fig/FIG.cpp
index e21cf00..03f7451 100644
--- a/src/fig/FIG.cpp
+++ b/src/fig/FIG.cpp
@@ -31,11 +31,14 @@ namespace FIC {
int rate_increment_ms(FIG_rate rate)
{
switch (rate) {
+ /* All these values are multiples of 24, so that it is easier to reason
+ * about the behaviour when considering ETI frames of 24ms duration
+ */
case FIG_rate::FIG0_0: return 96; // Is a special case
- case FIG_rate::A: return 100;
- case FIG_rate::A_B: return 200;
- case FIG_rate::B: return 1000;
- case FIG_rate::C: return 10000;
+ case FIG_rate::A: return 240;
+ case FIG_rate::A_B: return 480;
+ case FIG_rate::B: return 2400;
+ case FIG_rate::C: return 24000;
case FIG_rate::D: return 30000;
case FIG_rate::E: return 120000;
}