Experiment with different numbers of buffers to determine the minimum latency for a computer. More...
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "portaudio.h"
Data Structures | |
struct | paTestData |
Defines | |
#define | TWOPI (M_PI * 2.0) |
#define | DEFAULT_BUFFER_SIZE (32) |
Functions | |
int | main (int argc, char **argv) |
Experiment with different numbers of buffers to determine the minimum latency for a computer.
#define DEFAULT_BUFFER_SIZE (32) |
Referenced by main().
#define TWOPI (M_PI * 2.0) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
References PaStreamParameters::channelCount, DEFAULT_BUFFER_SIZE, PaStreamParameters::device, PaStreamParameters::hostApiSpecificStreamInfo, paTestData::left_phase, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetErrorText(), Pa_Initialize(), Pa_OpenStream(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), paClipOff, paFloat32, paNoError, paTestData::right_phase, PaStreamParameters::sampleFormat, and PaStreamParameters::suggestedLatency.