spandsp  0.0.6
fax_tests.c File Reference
#include <stdlib.h>
#include <inttypes.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sndfile.h>
#include <unistd.h>
#include "udptl.h"
#include "spandsp.h"
#include "spandsp-sim.h"
#include "fax_tester.h"
#include "fax_utils.h"
#include "pcap_parse.h"

Classes

struct  machine_s
 

Macros

#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES
 
#define SAMPLES_PER_CHUNK   160
 
#define INPUT_TIFF_FILE_NAME   "../test-data/itu/fax/itutests.tif"
 
#define OUTPUT_FILE_NAME_WAVE   "fax_tests.wav"
 
#define FAX_MACHINES   2
 

Functions

int main (int argc, char *argv[])
 

Variables

struct machine_s machines [2]
 
int use_receiver_not_ready = false
 
int test_local_interrupt = false
 
int t30_state_to_wreck = -1