PortAudio  2.0
Data Structures | Defines | Typedefs | Functions
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   (1000)
#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)

Typedefs

typedef struct paTestData paTestData

Functions

int main (void)

Detailed Description

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

Todo:
This may not be needed now that we have "patest_out_overflow.c".
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   (1000)
#define SAMPLE_RATE   (44100)
#define TWOPI   (M_PI * 2.0)

Typedef Documentation

typedef struct paTestData paTestData

Function Documentation

int main ( void  )

Generated for PortAudio by  doxygen1.7.6.1