aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/bts_model.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-03 15:41:12 +0200
committerHarald Welte <laforge@gnumonks.org>2011-09-03 15:41:12 +0200
commit526b0c62cf891cd728460260bf10a919e9e437d3 (patch)
tree1e38f673a7a79fe7bbd25fb872f37547b40dd1c9 /include/osmo-bts/bts_model.h
parentb7bec6d488ac3c36957a717358b91836ba9b2215 (diff)
Add new ORTP based libosmo-trau based voice support
Using osmo-bts-sysmo and this code, it is now possible to do FR and AMR based voice calls on TCH/F. A lot of CPU is wasted in the conversion between the RTP formats and the L1 specific formats for the codec frames. All data needs to be shifted by four bits, and the order of bits needs to be reversed in every byte.
Diffstat (limited to 'include/osmo-bts/bts_model.h')
-rw-r--r--include/osmo-bts/bts_model.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmo-bts/bts_model.h b/include/osmo-bts/bts_model.h
index 62c5c72b..4e0b3e3f 100644
--- a/include/osmo-bts/bts_model.h
+++ b/include/osmo-bts/bts_model.h
@@ -33,4 +33,7 @@ int bts_model_rsl_deact_sacch(struct gsm_lchan *lchan);
int bts_model_trx_deact_rf(struct gsm_bts_trx *trx);
+void bts_model_rtp_rx_cb(struct osmo_rtp_socket *rs, uint8_t *rtp_pl,
+ unsigned int rtp_pl_len);
+
#endif