mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
update spandsp to use newest snapshot http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20080910.tar.gz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9493 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
bc5cf34915
commit
ea964d8fe6
79 files changed
+2804
-1642
No files matched your search
@@ -22,7 +22,7 @@
|
||||
* License along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: v29tx.c,v 1.76 2008/07/16 14:23:47 steveu Exp $
|
||||
* $Id: v29tx.c,v 1.79 2008/09/07 12:45:17 steveu Exp $
|
||||
*/
|
||||
|
||||
/*! \file */
|
||||
@@ -54,10 +54,6 @@
|
||||
|
||||
#include "spandsp/v29tx.h"
|
||||
|
||||
#if defined(SPANDSP_USE_FIXED_POINT)
|
||||
#define SPANDSP_USE_FIXED_POINTx
|
||||
#endif
|
||||
|
||||
#include "v29tx_constellation_maps.h"
|
||||
#if defined(SPANDSP_USE_FIXED_POINT)
|
||||
#include "v29tx_fixed_rrc.h"
|
||||
@@ -87,12 +83,12 @@ static __inline__ int get_scrambled_bit(v29_tx_state_t *s)
|
||||
int bit;
|
||||
int out_bit;
|
||||
|
||||
if ((bit = s->current_get_bit(s->get_bit_user_data)) == PUTBIT_END_OF_DATA)
|
||||
if ((bit = s->current_get_bit(s->get_bit_user_data)) == SIG_STATUS_END_OF_DATA)
|
||||
{
|
||||
/* End of real data. Switch to the fake get_bit routine, until we
|
||||
have shut down completely. */
|
||||
if (s->status_handler)
|
||||
s->status_handler(s->status_user_data, MODEM_TX_STATUS_DATA_EXHAUSTED);
|
||||
s->status_handler(s->status_user_data, SIG_STATUS_END_OF_DATA);
|
||||
s->current_get_bit = fake_get_bit;
|
||||
s->in_training = TRUE;
|
||||
bit = 1;
|
||||
@@ -166,7 +162,7 @@ static __inline__ complexf_t getbaud(v29_tx_state_t *s)
|
||||
if (s->training_step == V29_TRAINING_SHUTDOWN_END)
|
||||
{
|
||||
if (s->status_handler)
|
||||
s->status_handler(s->status_user_data, MODEM_TX_STATUS_SHUTDOWN_COMPLETE);
|
||||
s->status_handler(s->status_user_data, SIG_STATUS_SHUTDOWN_COMPLETE);
|
||||
}
|
||||
}
|
||||
/* 9600bps uses the full constellation.
|
||||
|
||||
Reference in new issue
Block a user