aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/codec_pref.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/bsc/codec_pref.h')
-rw-r--r--include/osmocom/bsc/codec_pref.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/bsc/codec_pref.h b/include/osmocom/bsc/codec_pref.h
new file mode 100644
index 000000000..6933ceacd
--- /dev/null
+++ b/include/osmocom/bsc/codec_pref.h
@@ -0,0 +1,6 @@
+#pragma once
+
+int match_codec_pref(int *full_rate, enum gsm48_chan_mode *chan_mode,
+ const struct gsm0808_channel_type *ct,
+ const struct gsm0808_speech_codec_list *scl,
+ const struct bsc_msc_data *msc);