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 
31 extern 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. */
40  int bit_rate;
41  /*! \brief True is this is the calling side modem. */
43 
44  v17_rx_state_t rx;
45  v17_tx_state_t tx;
47 
48  uint16_t permitted_rates_signal;
49 
50  /*! \brief Error and flow logging control */
52 };
53 
54 #endif
55 /*- End of file ------------------------------------------------------------*/
Definition: private/v17rx.h:53
Definition: private/v17tx.h:38
int bit_rate
The bit rate of the modem. Valid values are 1200 and 2400.
Definition: private/v32bis.h:40
Definition: complex.h:42
Definition: private/logging.h:33
logging_state_t logging
Error and flow logging control.
Definition: private/v32bis.h:51
Definition: private/modem_echo.h:62
Definition: private/v32bis.h:37
bool calling_party
True is this is the calling side modem.
Definition: private/v32bis.h:42