rossb
4b1aa56f00
use bufferMaxSize for defaultHighLatency in asio impl
2011-11-10 13:37:05 +00:00
rossb
002db0d9ff
added comments explaining why ticket #199 can't be fixed
2011-11-10 08:34:00 +00:00
rossb
6b8eba624b
fixed host buffer size algorithm to prefer multiples of user frames per buffer. fixes #93
2011-11-10 06:55:33 +00:00
rossb
fc14177a05
tweaked dsound callback time info calculations. implemented adc time. resolves #122
2011-11-10 05:47:50 +00:00
rossb
01fbe8de7c
define WIN32_WINNT and WINVER to 501 (winxp) to resolve conflict between mingw winbase.h and asio sdk combase.h
2011-11-10 03:51:52 +00:00
rossb
3d8db8375a
configure.in and makefile.in changes to (hopefully) fix include paths issues on mingw
2011-11-10 03:01:11 +00:00
philburk
454b7559e0
Ran autoreconf to rebuild configure.
2011-10-31 16:27:38 +00:00
rossb
e20f5824e2
fix configure.in to find a C++ compiler when needed. seems this has been a problem with asio since march 2011.
2011-10-31 14:02:13 +00:00
philburk
5bf2843e7c
test SVN repository
2011-10-27 16:35:59 +00:00
philburk
36e86d649a
Apply patch for Debian from Samuel Thibault.
2011-10-27 06:52:01 +00:00
rossb
f519653f7e
CoreAudio: if user specifies framesPerBuffer make sure host buffer is an integer multiple of user buffer
2011-10-20 09:40:12 +00:00
eblennerhassett
3130f5c1af
Update header authors, copyrights, HPI url. Remove Ludwig Schwardt bugreport email.
2011-10-18 20:48:49 +00:00
eblennerhassett
82be702f17
Replace deprecated HPI functions and datatypes with current (HPIv4.08) for #197
...
Remove support for HPI < 3.5
Replace unused subsys pointer parameter with NULL.
2011-10-18 20:34:48 +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
rossb
4fd99433f3
added Doxyfile.developer for generating internal docs. added doxygen brief descriptions to mme example files
2011-09-08 04:17:58 +00:00
rossb
30d0807075
updated doxygen stuff to generate sane user documentation (work in progress)
2011-09-08 03:34:03 +00:00
philburk
57dd0b608f
moved example programs from test folder to examples folder
2011-09-08 03:21:55 +00:00
philburk
4512b4dc09
Fixed configure so it works for paex_sine.
2011-09-07 23:57:43 +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
a1dabb01fe
test ignore
2011-08-27 17:19:22 +00:00
rossb
91d6a84b55
added stream callback documentation describing real-time constraints including not calling non-real-time code, and that it should be safe to consume 70% or more of available CPU time in the callback. resolves #96
2011-08-25 17:44:01 +00:00
rossb
4939e41248
Fixed directsound PaDeviceInfo default latency and PaStreamInfo latency fields. Fixed host buffer size calculations based on suggestedLatency parameters. Switched to using 48kHz as default sample rate when other info isn't available. Fixed edge case in TimeSlice() where a full duplex stream could read data even though either input or output reported zero bytes available. Renamed some variables for clarity. Fixes ticket #160 (PaStreamInfo latency). Addresses #122 (although we're still using old default latency values from V18 codebase). Addresses #99 (correct interpretation of suggestedLatency down to zero).
2011-08-25 15:59: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
philburk
b511280f66
Fix #164 by using if instead if ifdef PA_USE_* for unix builds.
2011-08-25 07:17:48 +00:00
rossb
16f40db4c8
wmme limit host buffer size to 32k. try to make host buffer size a factor of over-limit user buffer size. closes #189
2011-08-25 07:15:31 +00:00
rossb
6aa858c0f7
memory barrier change take two
2011-08-18 11:47:28 +00:00
rossb
924b65ed3d
added comment about MSVC compiler barrier intrinsics
2011-08-18 11:29:40 +00:00
rossb
48cb6b726c
updated memory barrier comment urgh
2011-08-18 11:24:15 +00:00
rossb
f22cec3d45
moved memory barriers as per this thread: http://music.columbia.edu/pipermail/portaudio/2011-August/012803.html . use volatile because MSVC Read/WriteBarrier() intrinsics are just compiler barriers, but MSVC will insert memory barriers if you use volatile. see: http://msdn.microsoft.com/en-us/library/ms686355(VS.85).aspx
2011-08-18 11:19:36 +00:00
philburk
fa8a45c845
Fix removal of device property change listeners.
...
This may fix some occasional memory corruption isses we were seeing in the loopback test.
I think the listeners may have gotten called after the stream was freed.
2011-08-18 08:44:03 +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
8f6b491bae
revised WMME default latency on XP, Vista, Win7 to 90ms. Resolves ticket #80 . Could go lower if we had more results from ticket #185
2011-08-18 05:58:56 +00:00
rossb
e0a057f28e
set defaultHostApiIndex_ to zero when uninitialized
2011-08-18 03:43:51 +00:00
rossb
ebe9c54048
tweaked comment
2011-08-18 03:40:47 +00:00
rossb
58015f7b17
changed default host API logic to use first successfully initialized host api with a defined default input or output device. resolves ticket #49
2011-08-18 03:31:51 +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
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
903263d777
Fixed pa_win_wmme.c latency calculations to result in non-decreasing actual latency for increasing suggested latency.
2011-08-11 12:16:47 +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
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
rossb
e07e139e0d
pa_win_wmme.c fixed bug in stream info inputLatency see ticket #178 . improved interpretation of suggestedLatency based on recent discussions. see tickets #98 #99 #181
2011-07-28 12:03:09 +00:00
philburk
b9e71acd6f
Add check for min maxDeltaDacTime for timestamps.
2011-07-28 07:17:09 +00:00