t38_terminal_to_gateway_tests.c File Reference

#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <sys/time.h>
#include <audiofile.h>
#include "spandsp.h"
#include "spandsp-sim.h"

Defines

#define __USE_MISC
#define SAMPLES_PER_CHUNK   160
#define INPUT_FILE_NAME   "../test-data/itu/fax/itutests.tif"
#define OUTPUT_FILE_NAME   "t38.tif"
#define OUTPUT_FILE_NAME_WAVE   "t38_terminal_to_gateway.wav"

Functions

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

Variables

t38_terminal_state_t t38_state_a
t38_gateway_state_t t38_state_b
fax_state_t fax_state_b
g1050_state_tpath_a_to_b
g1050_state_tpath_b_to_a
double when = 0.0
int done [2] = {FALSE, FALSE}
int succeeded [2] = {FALSE, FALSE}
int simulate_incrementing_repeats = FALSE

Detailed Description


Generated on Tue Oct 7 20:25:52 2008 for spandsp by  doxygen 1.5.6