PortAudio 2.0
paqa_latency_monotonic.c File Reference

Test reported stream latencies for monotonicity constraints. More...

#include <stdio.h>
#include <math.h>
#include "portaudio.h"
#include "loopback/src/qa_tools.h"

Macros

#define NUM_SECONDS   (5)
 
#define SAMPLE_RATE   (44100)
 
#define FRAMES_PER_BUFFER   (64)
 
#define INDENT   " "
 

Functions

int main (void)
 

Variables

int g_testsPassed = 0
 
int g_testsFailed = 0
 

Detailed Description

Test reported stream latencies for monotonicity constraints.

Author
Ross Bencina rossb.nosp@m.@aud.nosp@m.iomul.nosp@m.ch.c.nosp@m.om
Phil Burk philb.nosp@m.urk@.nosp@m.softs.nosp@m.ynth.nosp@m..com
See also
test/patest_suggested_vs_streaminfo_latency.c, test/patest_suggested_vs_streaminfo_latency.py

Macro Definition Documentation

◆ FRAMES_PER_BUFFER

#define FRAMES_PER_BUFFER   (64)

◆ INDENT

#define INDENT   " "

◆ NUM_SECONDS

#define NUM_SECONDS   (5)

◆ SAMPLE_RATE

#define SAMPLE_RATE   (44100)

Function Documentation

◆ main()

int main ( void )

Variable Documentation

◆ g_testsFailed

int g_testsFailed = 0

◆ g_testsPassed

int g_testsPassed = 0

Accumulate counts for how many tests pass or fail.