Tests the converter functions in pa_converters.c.
More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "portaudio.h"
#include "pa_converters.h"
#include "pa_dither.h"
#include "pa_types.h"
#include "pa_endianness.h"
Detailed Description
Tests the converter functions in pa_converters.c.
- Author:
- Ross Bencina <rossb@audiomulch.com>
Link with pa_dither.c and pa_converters.c
see http://www.portaudio.com/trac/wiki/V19ConvertersStatus for a discussion of this.
Define Documentation
#define FLAG_COMBINATION_COUNT (4) |
#define M_PI (3.14159265) |
#define MAX_CHANNEL_COUNT (8) |
#define MAX_PER_CHANNEL_FRAME_COUNT (2048) |
#define SAMPLE_FORMAT_COUNT (6) |
Function Documentation
int main |
( |
const char ** |
argv, |
|
|
int |
argc | |
|
) |
| | |
float MaximumAbsDifference |
( |
float * |
sourceBuffer, |
|
|
float * |
referenceBuffer, |
|
|
int |
count | |
|
) |
| | |
int TestNonZeroPresent |
( |
void * |
buffer, |
|
|
int |
size | |
|
) |
| | |