PortAudio 2.0
Data Structures | Defines | 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

Defines

#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 <philburk@softsynth.com>

Define 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  )

Generated for PortAudio by  doxygen1.7.4