patest_toomanysines.c File Reference

Play more sine waves than we can handle in real time as a stress test. More...

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

Data Structures

struct  paTestData

Defines

#define MAX_SINES   (500)
#define MAX_LOAD   (1.2)
#define SAMPLE_RATE   (44100)
#define FRAMES_PER_BUFFER   (512)
#define M_PI   (3.14159265)
#define TWOPI   (M_PI * 2.0)

Functions

int main (void)


Detailed Description

Play more sine waves than we can handle in real time as a stress test.

Author:
Ross Bencina <rossb@audiomulch.com>

Phil Burk <philburk@softsynth.com>


Define Documentation

#define FRAMES_PER_BUFFER   (512)

#define M_PI   (3.14159265)

#define MAX_LOAD   (1.2)

#define MAX_SINES   (500)

#define SAMPLE_RATE   (44100)

#define TWOPI   (M_PI * 2.0)


Function Documentation

int main ( void   ) 

setup host specific info


Generated on Thu Feb 21 06:25:57 2008 for PortAudio by  doxygen 1.5.5