},
&flat_coeffs[NOTCH_COEFF_SET_2280HZ],
+#if defined(SPANDSP_USE_FIXED_POINT)
+ 13,
+ -30,
+ -30
+#else
13.0f,
-30.0f,
-30.0f
+#endif
},
{
/* 2600Hz (e.g. many US protocols) */
},
NULL,
+#if defined(SPANDSP_USE_FIXED_POINT)
+ 16,
+ -30,
+ -30
+#else
15.6f,
-30.0f,
-30.0f
+#endif
},
{
/* 2400Hz/2600Hz (e.g. SS5 and SS5bis) */
},
NULL,
+#if defined(SPANDSP_USE_FIXED_POINT)
+ 16,
+ -30,
+ -30
+#else
15.6f,
-30.0f,
-30.0f
+#endif
}
};
/*! \brief True if we are using ECM mode. This is used to select HDLC faking, necessary
with clunky class 1 modems. */
- bool ecm_mode;
+ int ecm_mode;
/*! \brief Counter for trailing non-ECM bytes, used to flush out the far end's modem. */
int non_ecm_trailer_bytes;
\param bit_rate The bit rate of the modem. Valid values are 7200, 9600, 12000 and 14400.
\param short_train True if a short training sequence is expected.
\return 0 for OK, -1 for bad parameter */
-SPAN_DECLARE(int) v17_rx_restart(v17_rx_state_t *s, int bit_rate, bool short_train);
+SPAN_DECLARE(int) v17_rx_restart(v17_rx_state_t *s, int bit_rate, int short_train);
/*! Release a V.17 modem receive context.
\brief Release a V.17 modem receive context.
}
/*- End of function --------------------------------------------------------*/
-SPAN_DECLARE(int) v17_rx_restart(v17_rx_state_t *s, int bit_rate, bool short_train)
+SPAN_DECLARE(int) v17_rx_restart(v17_rx_state_t *s, int bit_rate, int short_train)
{
int i;