patest_write_stop.c File Reference

Play a few seconds of silence followed by a few cycles of a sine wave. Tests to make sure that pa_StopStream() completes playback in blocking I/O. More...

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

Defines

#define NUM_SECONDS   (5)
#define SAMPLE_RATE   (44100)
#define FRAMES_PER_BUFFER   (1024)
#define M_PI   (3.14159265)
#define TABLE_SIZE   (200)

Functions

int main (void)


Detailed Description

Play a few seconds of silence followed by a few cycles of a sine wave. Tests to make sure that pa_StopStream() completes playback in blocking I/O.

Author:
Bjorn Roche of XO Audio (www.xoaudio.com)

Ross Bencina

Phil Burk


Define Documentation

#define FRAMES_PER_BUFFER   (1024)

#define M_PI   (3.14159265)

#define NUM_SECONDS   (5)

#define SAMPLE_RATE   (44100)

#define TABLE_SIZE   (200)


Function Documentation

int main ( void   ) 


Generated for PortAudio by  doxygen1.5.9