Commit graph portaudio/qa/loopback
Author SHA1 Message Date
petris
2d0a88a618 Whitespace cleanup in qa 2021-01-22 07:18:08 -08:00
Ross Bencina
0b832f5ff1
Clean up whitespace in qa/ in preparation for .editorconfig. (#418)
* Clean up whitespace in qa/ in preparation for .editorconfig. Convert tabs to 4 spaces. Indent by 4 spaces. Strip trailing whitespace. Ensure EOL at EOF.
2021-01-22 00:00:40 +11:00
luz paz
e1c3e59ee8 Fix user-facing and non-user-facing typos
Found via `codespell v2.1.dev0`
2020-12-11 20:24:05 -05:00
Phil Burk
cf4ef2ce19 Loopback: fix warnings that prevent compilation
Add newline in biquad_filter.c
Add integer assert with tolerance.
2016-07-26 19:10:23 -07:00
Phil Burk
ed463ba658 Normalize all the line endings 2016-05-18 22:13:20 -07:00
philburk
b4a22b91ff Fix ring buffer handling in pa_mac_core.c that caused many spurious paInputOverflow flags.
Fixed size bug when input underflow detected. Code was confused between bytes and elements.
Zero out the beginning of a recording when detecting pops to prevent start of audio from looking like a pop in qa loopback test.
2012-06-25 01:12:29 +00:00
philburk
ef2e72c22a Added build instruction for loopback test. 2012-05-27 00:46:28 +00:00
philburk
1d645d8e5d Fix warnings in loopback.
Disable test for defaultHigh > defaultLow.
2011-09-08 09:29:21 +00:00
philburk
9cdd56f5b4 Implement the Float32 to UInt8 converters.
The loopback test now passes cleanly for the first time on my PreSonus FireStudio.
Added tests for clip and dither flag combinations to loopback.
2011-09-01 22:08:32 +00:00
philburk
8b40f6d9e5 Use bigger threshold to fix odd latency calculations.
Use low default latency for loopback.
2011-08-18 08:23:53 +00:00
rossb
e49abeb2f2 extended paqa loopback test output to print reported PaStreamInfo input, output and total latency 2011-08-11 14:37:41 +00:00
philburk
c0289d34d7 Improve latency measurement in loopback so it handles DC steps better. 2011-03-08 00:37:50 +00:00
philburk
5db3f8fb7c Convert patest_two_rates.c to V19.
Make paloopback over/underflow report easier to understand.
2011-03-07 00:52:47 +00:00
philburk
8e5dda777a Add include string.h to loopback test.
Use full duplex if input and output device the same.
Check for format conversion buffer overflow in case of huge framesPerBuffer.
2011-03-06 00:35:24 +00:00
rossb
399069a2ac added newline to print statement 2011-03-04 07:53:36 +00:00
rossb
ffc0a15e77 print arguments at startup 2011-03-04 07:19:04 +00:00
rossb
cedaf41606 changes to get qa building on Windows with msvc. had to move variable declarations to the top of functions (ie ANSI C89) 2011-03-04 05:17:47 +00:00
rossb
c9322dac96 paqa: removed non standard and unused #include <strings.h>. updated definitions of pi to double precision 2011-03-04 03:01:44 +00:00
philburk
efd4a0ac89 Add test for paInt8 to loopback test.
Add separate input and output latency setting options.
Add timeout when waiting for stream to finish.
2011-03-03 01:18:39 +00:00
philburk
03c9a5d2d5 Fix random code insertion caused by buggy editor on Linux.
Report actual buffer sizes.
2011-03-02 22:12:23 +00:00
philburk
0c00ae8845 Add latency control in loopback to fix Linux latency problems. 2011-03-02 21:03:45 +00:00
philburk
af4e71a184 Raise pop threshold for loopback test. 2011-03-02 17:49:46 +00:00
philburk
7db43bb536 Set default latency in an attempt to reduce full duplex glitching. 2011-03-02 02:42:57 +00:00
philburk
0ebc551e6e Add test for sample format conversion. 2011-03-02 01:53:02 +00:00
philburk
c152ef3966 Check for clipping even when loopback devices specified. 2011-03-01 23:02:52 +00:00
philburk
9471fc8dae Add check for clipping and noise in loopback test. 2011-03-01 22:48:50 +00:00
philburk
33a9013437 Remove unused variable in loopback. 2011-03-01 09:36:31 +00:00
philburk
284a16cf4f Add loopback target to Makefile.
Fixes to loopback test for ALSA.
2011-03-01 09:22:48 +00:00
philburk
99c23578bc ANother C99 fix for loopback. 2011-03-01 02:12:46 +00:00
philburk
981c2eac70 Fix C99 error with modern for loops. 2011-03-01 02:02:46 +00:00
philburk
8a905a2a19 Added paloopback test to the automated build. 2011-03-01 01:54:20 +00:00
philburk
7aad01a1d3 Added patest_write_sine_nonint to Makefile.
Check for paNonInterleaved on Mac and return paSampleFormatNotSupported.
Fix pa_minlat.c. Linux was complaining about not checking fgets return value.
2011-02-28 23:56:48 +00:00
philburk
6fb75866b3 Speed up loopback test by testing each sample rate then each buffer size, not full matrix. 2011-02-27 01:31:56 +00:00
philburk
7ffd3f5374 Cleanup tests. Lots of small tweaks.
Delete the debug_ tests because they are V18 and are not needed.
We can just hack a V19 test if we need to debug.
2011-02-27 00:06:07 +00:00
philburk
3d61d394b8 First checkin of new loopback unit test for PortAudio. 2010-11-12 19:14:25 +00:00