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
Phil Burk
63bbb63343
paqa_devs.c: improve file comment
2020-12-26 08:47:56 -08:00
Phil Burk
d68a78d30b
paqa_devs.c: remove some white space
2020-12-26 08:47:56 -08:00
Phil Burk
5f869e787e
paqa_devs: test default device
...
Use sine wave instead of sawtooth because it is
easier to hear glitches.
Add some options:
-a - Test ALL devices, otherwise just the default devices.
-i - Test INPUT only.
-o - Test OUTPUT only.
2020-12-26 08:47:56 -08: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
gineera
27c3b518cb
paqa_devs: limit max number of channels tested (to 4); add a fixed decimal format to the timestamp printout.
2013-09-07 10:14:52 +00:00
gineera
8082b07db4
qa-latency: fix printout typos; re-enable checks of default high vs low latency - but allow them to be equal; remove rogue tab.
2013-05-30 11:30:28 +00: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
39f9a22d28
Fixed warnings that broke build.
...
Fixed bug added to paqa_latency.c that caused a failed test to appear to succeed. Error result was not passed up to main.
2012-06-22 21:02:36 +00:00
gineera
6d881ec6dc
qa-latency: use defaultSampleRate; fix crash on single loops; change latency check limits; continue after a failed test; some alterations to printed messages.
2012-06-05 16:36:54 +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
a08b3b1856
Add self tests to paqa_latency.c
2011-09-08 09:13:16 +00:00
philburk
7a78469780
Fix compiler warnings on Mac.
2011-09-08 06:09:29 +00:00
philburk
d2054b201e
Move paqa_devs and paqa_errs to qa folder. Clean up tests.
2011-09-08 05:32:07 +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
948250370c
Calculate timestamp offsets from device properties.
...
Combine multiple user buffers in a host buffer to honor longer latency.
2011-07-29 18:22:04 +00:00
philburk
b9e71acd6f
Add check for min maxDeltaDacTime for timestamps.
2011-07-28 07:17:09 +00:00
rossb
8a27b95617
paqa_latency: tweak parameter printing
2011-07-28 05:47:22 +00:00
rossb
3ed32c7a04
paqa_latency: tweak parameter printing
2011-07-28 05:45:57 +00:00
rossb
ac176b9462
paqa_latency: print device name and api. c89ize
2011-07-28 05:26:15 +00:00
philburk
062e8a7a86
Draft version for debugging latency and timing.
2011-07-28 04:59:17 +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