spandsp 0.0.6
t38_gateway_tests.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <sndfile.h>
#include <unistd.h>
#include "spandsp.h"
#include "spandsp-sim.h"
#include "fax_utils.h"

Macros

#define SPANDSP_EXPOSE_INTERNAL_STRUCTURES
#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_gateway.wav"

Functions

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

Variables

fax_state_tfax_state_a
t38_gateway_state_tt38_state_a
t38_gateway_state_tt38_state_b
fax_state_tfax_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