mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 04:27:06 +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 @@
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*
|
||||
* $Id: v22bis_tests.c,v 1.51 2008/08/16 14:59:50 steveu Exp $
|
||||
* $Id: v22bis_tests.c,v 1.52 2008/09/07 12:45:17 steveu Exp $
|
||||
*/
|
||||
|
||||
/*! \page v22bis_tests_page V.22bis modem tests
|
||||
@@ -108,30 +108,15 @@ static void v22bis_putbit(void *user_data, int bit)
|
||||
if (bit < 0)
|
||||
{
|
||||
/* Special conditions */
|
||||
printf("V.22bis rx status is %s (%d)\n", signal_status_to_str(bit), bit);
|
||||
switch (bit)
|
||||
{
|
||||
case PUTBIT_TRAINING_FAILED:
|
||||
printf("Training failed\n");
|
||||
break;
|
||||
case PUTBIT_TRAINING_IN_PROGRESS:
|
||||
printf("Training in progress\n");
|
||||
break;
|
||||
case PUTBIT_TRAINING_SUCCEEDED:
|
||||
printf("Training succeeded\n");
|
||||
case SIG_STATUS_TRAINING_SUCCEEDED:
|
||||
len = v22bis_equalizer_state(s, &coeffs);
|
||||
printf("Equalizer:\n");
|
||||
for (i = 0; i < len; i++)
|
||||
printf("%3d (%15.5f, %15.5f) -> %15.5f\n", i, coeffs[i].re, coeffs[i].im, powerf(&coeffs[i]));
|
||||
break;
|
||||
case PUTBIT_CARRIER_UP:
|
||||
printf("Carrier up\n");
|
||||
break;
|
||||
case PUTBIT_CARRIER_DOWN:
|
||||
printf("Carrier down\n");
|
||||
break;
|
||||
default:
|
||||
printf("Eh! - %d\n", bit);
|
||||
break;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user