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
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
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
philburk
6fa03e953c
Fix broken build due to unused variables. Grrr.
2011-07-21 18:47:18 +00:00
philburk
edac3c99eb
Fix improper calculation of big buffer sizes. See bug #187
...
This fixes a click heard with big buffers.
2011-07-21 18:44:58 +00:00
philburk
3aad8c0a9f
Fixed broken Mac build by removing unused label.
2011-07-21 17:34:19 +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
ddc1a3ce11
cleaned up doc comments for PaStreamCallbackTimeInfo and PaStreamCallbackResult
2011-07-20 03:24:00 +00:00
bjornroche
ab8a1489ef
this should resolve issues on OS X with systems where only sdk 10.6 is available and includes a likely fix for future simillar issues with 10.7. See ticket 179.
2011-07-14 17:56:47 +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
20f5792a19
Remove dev-cpp support.
...
This IDE is no longer used and the build files are not working.
http://www.portaudio.com/trac/ticket/162
2011-07-14 05:17:42 +00:00
bjornroche
7d6950a757
Fix for doxygen for pa_mac_core.h. Ticket #70 . Patch from chris share modified slightly.
2011-07-09 15:01:52 +00:00
rossb
982dd233f5
fixed regression in r1612 that broke coreaudio non-interleaved callback i/o
2011-06-30 12:48:08 +00:00
rossb
d06505b72c
fixed def file to reference PaAsio_GetAvailableBufferSizes instead of PaAsio_GetAvailableLatencyValues. thanks Chris.
2011-06-23 07:33:44 +00:00
rossb
f95c722aad
made ring buffer params const-correct
2011-06-17 08:01:02 +00:00
aknudsen
ef2d8b6cd8
PA ALSA: define SND_PCM_TSTAMP_ENABLE as SND_PCM_TSTAMP_MMAP if the former is undefined
2011-05-26 20:19:19 +00:00
rob_bielik
e535a7b800
Initial CMake support (MSVC only at the moment)
2011-05-19 08:24:02 +00:00
rossb
5716669053
extra comments
2011-05-11 21:05:18 +00:00
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