Commit graph portaudio/test
Author SHA1 Message Date
rossb
e996fc8ff6 Implemented host-API specific mechanism for setting DirectSound buffer sizes in frames. resolves #129 2011-11-24 18:11:33 +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
57dd0b608f moved example programs from test folder to examples folder 2011-09-08 03:21:55 +00:00
philburk
4b7c5a1241 Experiment with moving example code into its own folder.
Note that this revision needs to have autoreconf run.
I tried to do that on Mac but it failed. So I will try on Linux.
2011-09-07 23:54:04 +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
rossb
0750039754 added large primes to patest_suggested_vs_streaminfo_latency.py 2011-08-25 15:56:25 +00:00
rossb
59b9cf7180 fixed some warnings and minor bugs in patest_suggested_vs_streaminfo_latency.c 2011-08-25 14:40:00 +00:00
rossb
b3eeb36d05 added #include and deleted 2 unused variables from a test 2011-08-25 08:51:46 +00:00
rossb
17882c465f Updated patest_suggested_vs_streaminfo_latency test. Python script now creates plots for a number of different buffer sizes. Supports testing at different sample rates. 2011-08-11 12:18:02 +00:00
rossb
d15c703f8f updated patest_suggested_vs_streaminfo_latency to generate pdf files 2011-08-04 14:29:58 +00:00
rossb
35073f0c65 updated patest_suggested_vs_streaminfo_latency to support running multiple test iterations from the python script 2011-08-04 13:56:52 +00:00
rossb
b526d0fd56 added patest_suggested_vs_streaminfo_latency test and python graphing script 2011-08-04 13:15:59 +00:00
rossb
a6b18bb64c mme latency test: minor cleanups. randomised tone pitch 2011-07-28 04:40:42 +00:00
rossb
eb0d429b7a mme test only list output devices 2011-07-26 04:24:49 +00:00
rossb
73c241d7ba fixed switch statement in test that would report Win7 when the platform was Vista 2011-07-24 05:28:47 +00:00
rossb
3165f0f473 updated wmme manual latency test 2011-07-21 14:34:15 +00:00
philburk
e3387a98a7 Improve calculation of default latencies on Mac CoreAudio.
Allow very low buffer sizes if suggestedLatency is low.
Set actual latencies in StreamInfo.
2011-07-21 08:29:26 +00:00
rossb
6f7f5f0325 initial implementation of patest_wmme_find_best_latency_params.c. just a draft. needs work 2011-07-14 09:02:08 +00:00
philburk
c036f1e0d6 Added patest_mono and patest_two_rates to Makefile.in
Verified both and updated README.txt
2011-03-13 00:49:28 +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
rossb
801ae219cd fixed build breakage of patest_wmme_ac3.c on windows 2011-03-04 02:28:55 +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
7d8d647cfa Add a test for non-interleaved blocking writes.
This is to address ticket 83.
2011-02-28 22:27:39 +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
rob_bielik
59f8c8975c Ticket #132 2011-02-17 15:56:04 +00:00
rossb
cf124140d6 tweaked buffer settings in wmme low level parameters example 2010-08-14 06:22:26 +00:00
dmitrykos
f2badb7725 wasapi:
- added functionality to enumerate jacks and their description
 - added example which demonstrates jacks enumeration technique
Thanks Reid Bishop for providing the idea for this extended functionality and patch with implementation.
2010-07-23 10:04:03 +00:00
rossb
e9a5e27f3c changed buffer sizes 2010-02-22 16:29:48 +00:00
rossb
86c4016aa0 added test for wmme low level latency params 2010-02-22 16:07:56 +00:00
rossb
a5c6383fb7 reset oscillator phase at start of each test cycle so that the onsets sound the same 2010-01-24 12:35:36 +00:00
rossb
3cc8ec291c removed hardwired device number from previous commit 2010-01-24 12:27:31 +00:00
rossb
64936ef6ee added test case to patest_stop_playout.c which catches issues with host buffers looping/not being cleared if the callback returns paComplete 2010-01-24 11:48:06 +00:00
bjornroche
767f6df949 added new test for hardware samplerate changes. This is mostly targetted to the mac, but could be adapted to other platforms as well. 2009-11-30 21:08:54 +00:00
rossb
654bc7cc21 added notes to pa_test_ac3.c that the test stream file must include the correct spdif preamble on every ac3 frame 2009-03-08 08:15:50 +00:00
rossb
5bf449b175 always disable wmme clip and dither if an spdif passthrough wave format is requested 2009-03-08 08:10:55 +00:00
rossb
0b6a8f85bb added patest_wmme_ac3.cp test for wmme ac3 spdif passthrough 2009-01-29 07:33:04 +00:00
bjornroche
c1e1d067d2 moved trunk into place 2008-03-20 14:24:39 +00:00