patest_wire.c File Reference
Pass input directly to output.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Pass input directly to output.
Note that some HW devices, for example many ISA audio cards on PCs, do NOT support full duplex! For a PC, you normally need a PCI based audio card such as the SBLive.
- Author:
- Phil Burk http://www.softsynth.com
While adapting to V19-API, I excluded configs with framesPerCallback=0 because of an assert in file pa_common/pa_process.c. Pieter, Oct 9, 2003.
Define Documentation
#define INPUT_DEVICE (Pa_GetDefaultInputDevice()) |
#define INPUT_FORMAT paFloat32 |
#define OUTPUT_DEVICE (Pa_GetDefaultOutputDevice()) |
#define OUTPUT_FORMAT paFloat32 |
#define SAMPLE_RATE (44100) |
#define USE_FLOAT_INPUT (1) |
#define USE_FLOAT_OUTPUT (1) |
Typedef Documentation
Function Documentation
References WireConfig_s::framesPerCallback, gInOutScaler, INPUT_DEVICE, INPUT_FORMAT, WireConfig_s::isInputInterleaved, WireConfig_s::isOutputInterleaved, WireConfig_s::numInputChannels, WireConfig_s::numOutputChannels, OUTPUT_DEVICE, OUTPUT_FORMAT, Pa_GetErrorText(), Pa_Initialize(), Pa_Terminate(), paFloat32, paInt16, and paNoError.
Variable Documentation