Commit graph

310 commits

Author SHA1 Message Date
rossb
56422c6c56 fixed use of timeBeginPeriod/timeEndPeriod in pa_win_ds.c 2011-05-11 20:52:24 +00:00
rossb
28397f5c4a Replaced MM timer with a high priority thread for audio compute, based on a patch by Dmitry Kostjuchenko. Reason: there is one global MM timer thread per process and doing audio compute in it was interfering with timer accuracy and also with running multiple DSound streams. The old MM timer based implementation is still available if you define PA_WIN_DS_USE_WMME_TIMER -- this may be removed in future. 2011-05-11 10:00:52 +00:00
rossb
d03dd9e357 added userFramesPerBuffer parameter to SelectHostBufferSize in preparation for improving asio buffer size handling 2011-05-10 15:58:15 +00:00
rob_bielik
b5fc9f995f Added pa_win_coinitialize.c to MSVC project and windows configure scripts 2011-05-10 06:35:21 +00:00
rossb
52ab9d6600 refactored COM initialization for dsound, asio and wasapi to new source file pa_win_coinitialize.c. fixes com uninitialisation bugs in error cases. resolves ticket #128 2011-05-09 20:05:34 +00:00
rossb
cbd24dc45c renamed PaUtil_GetBufferProcessorInputLatency to PaUtil_GetBufferProcessorInputLatencyFrames and PaUtil_GetBufferProcessorOutputLatency to PaUtil_GetBufferProcessorOutputLatencyFrames. see ticket #161 2011-05-02 17:07:11 +00:00
rossb
1938ce6628 renamed PaAsio_GetAvailableLatencyValues to PaAsio_GetAvailableBufferSizes and included a backward compatibility #define. see ticket #111. 2011-05-02 15:49:20 +00:00
rossb
b1035dcd8f removed #ifndef check for PA_USE_DS from pa_win_ds.c 2011-05-01 16:14:29 +00:00
rossb
57264ba799 fixed copy/past error in PA_USE_DS check code in pa_win_ds.c 2011-05-01 12:05:52 +00:00
philburk
8d0c648b7d Add README for configure. pa_stable_v19_20110326_r1647 2011-03-25 17:34:07 +00:00
philburk
f8f38c4a8d Remove include for pa_unix_oss.h to fix "make install" on Linux. 2011-03-25 16:59:27 +00:00
philburk
a697e38dc2 Ran autoreconf to update config.guess and other configure files. 2011-03-16 22:33:34 +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
df8ad47c5b Ran autoconf to update configure file to fix INCLUDES bug. 2011-03-13 00:18:45 +00:00
dmitrykos
ff61de145b wasapi:
- fixed warning of incompatible type usage when ring-buffer is used for blocking interface
 - fixed compilation using MSYS with MinGW compiler (regenerate makefile with configure)
2011-03-08 17:20:07 +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
26b196a9f0 moved skeleton to end of win32 initializers list so it isn't considered default 2011-03-04 04:18:44 +00:00
rossb
2fb11cbabd support building skeleton host api on windows 2011-03-04 04:12:08 +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
rossb
801ae219cd fixed build breakage of patest_wmme_ac3.c on windows 2011-03-04 02:28:55 +00:00
rossb
1783cf4fba use LoadLibraryA instead of LoadLibrary to support unicode build 2011-03-04 01:45:06 +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
c8dcb76f19 Applied patches for Debian Linux for ticket 166. 2011-03-02 17:03:23 +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
2abba447e6 tweak changeme.txt to test SVN on Ubuntu 2011-03-01 08:34:46 +00:00
philburk
7453ad9343 ANother attempt at fixing configure make. 2011-03-01 02:32:04 +00:00
philburk
d757ad0b55 Try to fix oddly broken Makefile.in 2011-03-01 02:25:32 +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
1ca032a561 Ass semicolon to fix "label at end of compound statement" error
caused by pthread_cleanup_pop(1) macro.
2011-03-01 00:49:52 +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
dmitrykos
3fb0ef9e30 wasapi: fixed the bug when on stream stop/start/stop/start sequence callback could be called with number of samples smaller than requested by user in Pa_OpenStream 2011-02-21 22:41:06 +00:00
dmitrykos
b906a9d336 fixed build by reverting 1604 revision where 'pa_ringbuffer.o' dependency was added to Makefile.in, modified configure.in for WASAPI build and added explicit 'pa_ringbuffer.o' dependency there instead 2011-02-21 08:02:21 +00:00