summaryrefslogtreecommitdiffstats
path: root/src/fig/FIG.cpp
diff options
context:
space:
mode:
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;
}