paqa_errs.c File Reference
Self Testing Quality Assurance app for PortAudio Do lots of bad things to test error reporting.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Self Testing Quality Assurance app for PortAudio Do lots of bad things to test error reporting.
- Author:
- Phil Burk http://www.softsynth.com Pieter Suurmond adapted to V19 API.
Define Documentation
Value:do \
{ \
if ((_exp)) {\
gNumPassed++; \
} \
else { \
printf("\nERROR - 0x%x - %s for %s\n", result, Pa_GetErrorText(result), #_exp ); \
gNumFailed++; \
goto error; \
} \
} while(0)
#define FRAMES_PER_BUFFER (64) |
Value:do \
{ \
if ((_exp)) {\
gNumPassed++; \
} \
else { \
printf("\nERROR - 0x%x - %s for %s\n", result, Pa_GetErrorText(result), #_exp ); \
gNumFailed++; \
} \
} while(0)
#define SAMPLE_RATE (44100.0) |
Function Documentation