patest_stop_playout.c File Reference
Test whether all queued samples are played when Pa_StopStream() is used with a callback or read/write stream, or when the callback returns paComplete.
More...
#include <stdio.h>
#include <math.h>
#include "portaudio.h"
Detailed Description
Test whether all queued samples are played when Pa_StopStream() is used with a callback or read/write stream, or when the callback returns paComplete.
- Author:
- Ross Bencina <rossb@audiomulch.com>
Define Documentation
| #define BLIP_SECONDS (.035) |
| #define FRAMES_PER_BUFFER (1024) |
| #define GAP_SECONDS (.25) |
| #define MIN |
( |
a, |
|
|
b |
|
) |
(((a)<(b))?(a):(b)) |
| #define SAMPLE_RATE (44100) |
| #define TABLE_SIZE (2048) |
| #define TONE_FADE_SECONDS (.04) |
Function Documentation
References PaStreamParameters::channelCount, PaDeviceInfo::defaultHighOutputLatency, PaStreamParameters::device, FRAMES_PER_BUFFER, PaStreamParameters::hostApiSpecificStreamInfo, NUM_REPEATS, Pa_CloseStream(), Pa_GetDefaultOutputDevice(), Pa_GetDeviceInfo(), Pa_GetErrorText(), Pa_Initialize(), Pa_IsStreamActive(), Pa_OpenStream(), Pa_Sleep(), Pa_StartStream(), Pa_StopStream(), Pa_Terminate(), Pa_WriteStream(), paClipOff, paFloat32, paNoError, PaStreamParameters::sampleFormat, and PaStreamParameters::suggestedLatency.
Variable Documentation