From ab386e6120559ef2deb6a27f4455539cba920c9d Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 1 Sep 2011 18:18:43 +0200 Subject: Add VTY command to specify default speech codec In order to have the MNCC application reliably decide on the codec type, it needs to know if we are running on a TCH/F or TCH/H. Thus, we pass lchan_mode as a new parameter to the 'struct gsm_mncc' --- openbsc/include/openbsc/mncc_int.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 openbsc/include/openbsc/mncc_int.h (limited to 'openbsc/include/openbsc/mncc_int.h') diff --git a/openbsc/include/openbsc/mncc_int.h b/openbsc/include/openbsc/mncc_int.h new file mode 100644 index 000000000..4f30f08c0 --- /dev/null +++ b/openbsc/include/openbsc/mncc_int.h @@ -0,0 +1,12 @@ +#ifndef _MNCC_INT_H +#define _MNCC_INT_H + +#include + +struct mncc_int { + uint8_t def_codec[2]; +}; + +extern struct mncc_int mncc_int; + +#endif -- cgit v1.2.3