PortAudio  2.0
Data Structures | Macros | Functions
patest_two_rates.c File Reference

Play two streams at different rates to make sure they don't interfere. More...

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

Data Structures

struct  paTestData
 

Macros

#define OUTPUT_DEVICE   (Pa_GetDefaultOutputDeviceID())
 
#define SAMPLE_RATE_1   (44100)
 
#define SAMPLE_RATE_2   (48000)
 
#define FRAMES_PER_BUFFER   (256)
 
#define FREQ_INCR   (0.1)
 
#define M_PI   (3.14159265)
 

Functions

int main (void)
 

Detailed Description

Play two streams at different rates to make sure they don't interfere.

Author
Phil Burk philb.nosp@m.urk@.nosp@m.softs.nosp@m.ynth.nosp@m..com

Macro Definition Documentation

#define FRAMES_PER_BUFFER   (256)
#define FREQ_INCR   (0.1)
#define M_PI   (3.14159265)
#define OUTPUT_DEVICE   (Pa_GetDefaultOutputDeviceID())
#define SAMPLE_RATE_1   (44100)
#define SAMPLE_RATE_2   (48000)

Function Documentation

int main ( void  )