patest_buffer.c File Reference

Test opening streams with different buffer sizes. More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "portaudio.h"

Data Structures

struct  paTestData

Defines

#define NUM_SECONDS   (3)
#define SAMPLE_RATE   (44100)
#define M_PI   (3.14159265)
#define TABLE_SIZE   (200)
#define BUFFER_TABLE   14

Functions

PaError TestOnce (int buffersize, PaDeviceIndex)
int main (int argc, char **args)

Variables

long buffer_table [] = {paFramesPerBufferUnspecified,16,32,64,128,200,256,500,512,600,723,1000,1024,2345}


Detailed Description

Test opening streams with different buffer sizes.

Author:
Phil Burk http://www.softsynth.com

Define Documentation

#define BUFFER_TABLE   14

#define M_PI   (3.14159265)

#define NUM_SECONDS   (3)

#define SAMPLE_RATE   (44100)

#define TABLE_SIZE   (200)


Function Documentation

int main ( int  argc,
char **  args 
)

PaError TestOnce ( int  buffersize,
PaDeviceIndex  device 
)


Variable Documentation

long buffer_table[] = {paFramesPerBufferUnspecified,16,32,64,128,200,256,500,512,600,723,1000,1024,2345}


Generated on Sat May 31 23:57:33 2008 for PortAudio by  doxygen 1.5.6