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"
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 SAMPLE_RATE (44100) |
Function Documentation