aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2014-01-22 10:05:51 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-01-26 08:49:35 +0100
commit88012b6e870d100e7d97b91f44897ce2d136d486 (patch)
treeef10af6f30b99b10e828b68d51352b3663f4e7a6 /openbsc/include/openbsc
parent6419018e6809924d56d764ba195cbce4c57776f2 (diff)
Use 'defines' for length and duration of RTP payload
Diffstat (limited to 'openbsc/include/openbsc')
-rw-r--r--openbsc/include/openbsc/rtp_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/rtp_proxy.h b/openbsc/include/openbsc/rtp_proxy.h
index 26cac0df4..52ffefd27 100644
--- a/openbsc/include/openbsc/rtp_proxy.h
+++ b/openbsc/include/openbsc/rtp_proxy.h
@@ -33,6 +33,10 @@
#define RTP_PT_GSM_HALF 96
#define RTP_PT_GSM_EFR 97
#define RTP_PT_AMR 98
+#define RTP_LEN_GSM_FULL 33
+#define RTP_LEN_GSM_HALF 15
+#define RTP_LEN_GSM_EFR 31
+#define RTP_GSM_DURATION 160
enum rtp_rx_action {
RTP_NONE,