spandsp 3.0.0
private/v32bis.h
1/*
2 * SpanDSP - a series of DSP components for telephony
3 *
4 * private/v32bis.h - ITU V.32bis modem
5 *
6 * Written by Steve Underwood <steveu@coppice.org>
7 *
8 * Copyright (C) 2008 Steve Underwood
9 *
10 * All rights reserved.
11 *
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 2.1,
14 * as published by the Free Software Foundation.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this program; if not, write to the Free Software
23 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 */
25
26/* V.32bis SUPPORT IS A WORK IN PROGRESS - NOT YET FUNCTIONAL! */
27
28#if !defined(_SPANDSP_PRIVATE_V32BIS_H_)
29#define _SPANDSP_PRIVATE_V32BIS_H_
30
31extern const complexf_t v32bis_constellation[16];
32
33/*!
34 V.32bis modem descriptor. This defines the working state for a single instance
35 of a V.32bis modem.
36*/
38{
39 /*! \brief The bit rate of the modem. Valid values are 1200 and 2400. */
41 /*! \brief True is this is the calling side modem. */
43
47
48 uint16_t permitted_rates_signal;
49
50 /*! \brief Error and flow logging control */
52};
53
54#endif
55/*- End of file ------------------------------------------------------------*/
struct logging_state_s logging_state_t
Definition logging.h:72
struct modem_echo_can_state_s modem_echo_can_state_t
Definition modem_echo.h:85
Definition complex.h:43
Definition private/v32bis.h:38
logging_state_t logging
Error and flow logging control.
Definition private/v32bis.h:51
int bit_rate
The bit rate of the modem. Valid values are 1200 and 2400.
Definition private/v32bis.h:40
bool calling_party
True is this is the calling side modem.
Definition private/v32bis.h:42
struct v17_rx_state_s v17_rx_state_t
Definition v17rx.h:222
struct v17_tx_state_s v17_tx_state_t
Definition v17tx.h:86