]>
Repos - portaudio/log
rossb [Thu, 25 Aug 2011 14:40:00 +0000 (14:40 +0000)]
fixed some warnings and minor bugs in patest_suggested_vs_streaminfo_latency.c
rossb [Thu, 25 Aug 2011 08:51:46 +0000 (08:51 +0000)]
added #include and deleted 2 unused variables from a test
philburk [Thu, 25 Aug 2011 07:17:48 +0000 (07:17 +0000)]
Fix #164 by using if instead if ifdef PA_USE_* for unix builds.
rossb [Thu, 25 Aug 2011 07:15:31 +0000 (07:15 +0000)]
wmme limit host buffer size to 32k. try to make host buffer size a factor of over-limit user buffer size. closes #189
rossb [Thu, 18 Aug 2011 11:47:28 +0000 (11:47 +0000)]
memory barrier change take two
rossb [Thu, 18 Aug 2011 11:29:40 +0000 (11:29 +0000)]
added comment about MSVC compiler barrier intrinsics
rossb [Thu, 18 Aug 2011 11:24:15 +0000 (11:24 +0000)]
updated memory barrier comment urgh
rossb [Thu, 18 Aug 2011 11:19:36 +0000 (11:19 +0000)]
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
philburk [Thu, 18 Aug 2011 08:44:03 +0000 (08:44 +0000)]
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.
philburk [Thu, 18 Aug 2011 08:23:53 +0000 (08:23 +0000)]
Use bigger threshold to fix odd latency calculations.
Use low default latency for loopback.
rossb [Thu, 18 Aug 2011 05:58:56 +0000 (05:58 +0000)]
revised WMME default latency on XP, Vista, Win7 to 90ms. Resolves ticket #80. Could go lower if we had more results from ticket #185
rossb [Thu, 18 Aug 2011 03:43:51 +0000 (03:43 +0000)]
set defaultHostApiIndex_ to zero when uninitialized
rossb [Thu, 18 Aug 2011 03:40:47 +0000 (03:40 +0000)]
tweaked comment
rossb [Thu, 18 Aug 2011 03:31:51 +0000 (03:31 +0000)]
changed default host API logic to use first successfully initialized host api with a defined default input or output device. resolves ticket #49
rossb [Thu, 11 Aug 2011 14:37:41 +0000 (14:37 +0000)]
extended paqa loopback test output to print reported PaStreamInfo input, output and total latency
rossb [Thu, 11 Aug 2011 12:18:02 +0000 (12:18 +0000)]
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.
rossb [Thu, 11 Aug 2011 12:16:47 +0000 (12:16 +0000)]
Fixed pa_win_wmme.c latency calculations to result in non-decreasing actual latency for increasing suggested latency.
rossb [Thu, 4 Aug 2011 14:29:58 +0000 (14:29 +0000)]
updated patest_suggested_vs_streaminfo_latency to generate pdf files
rossb [Thu, 4 Aug 2011 13:56:52 +0000 (13:56 +0000)]
updated patest_suggested_vs_streaminfo_latency to support running multiple test iterations from the python script
rossb [Thu, 4 Aug 2011 13:15:59 +0000 (13:15 +0000)]
added patest_suggested_vs_streaminfo_latency test and python graphing script
philburk [Fri, 29 Jul 2011 18:22:04 +0000 (18:22 +0000)]
Calculate timestamp offsets from device properties.
Combine multiple user buffers in a host buffer to honor longer latency.
rossb [Thu, 28 Jul 2011 12:03:09 +0000 (12:03 +0000)]
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
philburk [Thu, 28 Jul 2011 07:17:09 +0000 (07:17 +0000)]
Add check for min maxDeltaDacTime for timestamps.
rossb [Thu, 28 Jul 2011 05:47:22 +0000 (05:47 +0000)]
paqa_latency: tweak parameter printing
rossb [Thu, 28 Jul 2011 05:45:57 +0000 (05:45 +0000)]
paqa_latency: tweak parameter printing
rossb [Thu, 28 Jul 2011 05:26:15 +0000 (05:26 +0000)]
paqa_latency: print device name and api. c89ize
philburk [Thu, 28 Jul 2011 04:59:17 +0000 (04:59 +0000)]
Draft version for debugging latency and timing.
rossb [Thu, 28 Jul 2011 04:40:42 +0000 (04:40 +0000)]
mme latency test: minor cleanups. randomised tone pitch
rossb [Tue, 26 Jul 2011 04:24:49 +0000 (04:24 +0000)]
mme test only list output devices
rossb [Sun, 24 Jul 2011 05:28:47 +0000 (05:28 +0000)]
fixed switch statement in test that would report Win7 when the platform was Vista
philburk [Thu, 21 Jul 2011 18:47:18 +0000 (18:47 +0000)]
Fix broken build due to unused variables. Grrr.
philburk [Thu, 21 Jul 2011 18:44:58 +0000 (18:44 +0000)]
Fix improper calculation of big buffer sizes. See bug #187
This fixes a click heard with big buffers.
philburk [Thu, 21 Jul 2011 17:34:19 +0000 (17:34 +0000)]
Fixed broken Mac build by removing unused label.
rossb [Thu, 21 Jul 2011 14:34:15 +0000 (14:34 +0000)]
updated wmme manual latency test
philburk [Thu, 21 Jul 2011 08:29:26 +0000 (08:29 +0000)]
Improve calculation of default latencies on Mac CoreAudio.
Allow very low buffer sizes if suggestedLatency is low.
Set actual latencies in StreamInfo.
rossb [Wed, 20 Jul 2011 03:24:00 +0000 (03:24 +0000)]
cleaned up doc comments for PaStreamCallbackTimeInfo and PaStreamCallbackResult
bjornroche [Thu, 14 Jul 2011 17:56:47 +0000 (17:56 +0000)]
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.
rossb [Thu, 14 Jul 2011 09:02:08 +0000 (09:02 +0000)]
initial implementation of patest_wmme_find_best_latency_params.c. just a draft. needs work
philburk [Thu, 14 Jul 2011 05:17:42 +0000 (05:17 +0000)]
Remove dev-cpp support.
This IDE is no longer used and the build files are not working.
http://www.portaudio.com/trac/ticket/162
bjornroche [Sat, 9 Jul 2011 15:01:52 +0000 (15:01 +0000)]
Fix for doxygen for pa_mac_core.h. Ticket #70. Patch from chris share modified slightly.
rossb [Thu, 30 Jun 2011 12:48:08 +0000 (12:48 +0000)]
fixed regression in r1612 that broke coreaudio non-interleaved callback i/o
rossb [Thu, 23 Jun 2011 07:33:44 +0000 (07:33 +0000)]
fixed def file to reference PaAsio_GetAvailableBufferSizes instead of PaAsio_GetAvailableLatencyValues. thanks Chris.
rossb [Fri, 17 Jun 2011 08:01:02 +0000 (08:01 +0000)]
made ring buffer params const-correct
aknudsen [Thu, 26 May 2011 20:19:19 +0000 (20:19 +0000)]
PA ALSA: define SND_PCM_TSTAMP_ENABLE as SND_PCM_TSTAMP_MMAP if the former is undefined
rob_bielik [Thu, 19 May 2011 08:24:02 +0000 (08:24 +0000)]
Initial CMake support (MSVC only at the moment)
rossb [Wed, 11 May 2011 21:05:18 +0000 (21:05 +0000)]
extra comments
rossb [Wed, 11 May 2011 20:52:24 +0000 (20:52 +0000)]
fixed use of timeBeginPeriod/timeEndPeriod in pa_win_ds.c
rossb [Wed, 11 May 2011 10:00:52 +0000 (10:00 +0000)]
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.
rossb [Tue, 10 May 2011 15:58:15 +0000 (15:58 +0000)]
added userFramesPerBuffer parameter to SelectHostBufferSize in preparation for improving asio buffer size handling
rob_bielik [Tue, 10 May 2011 06:35:21 +0000 (06:35 +0000)]
Added pa_win_coinitialize.c to MSVC project and windows configure scripts
rossb [Mon, 9 May 2011 20:05:34 +0000 (20:05 +0000)]
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
rossb [Mon, 2 May 2011 17:07:11 +0000 (17:07 +0000)]
renamed PaUtil_GetBufferProcessorInputLatency to PaUtil_GetBufferProcessorInputLatencyFrames and PaUtil_GetBufferProcessorOutputLatency to PaUtil_GetBufferProcessorOutputLatencyFrames. see ticket #161
rossb [Mon, 2 May 2011 15:49:20 +0000 (15:49 +0000)]
renamed PaAsio_GetAvailableLatencyValues to PaAsio_GetAvailableBufferSizes and included a backward compatibility #define. see ticket #111.
rossb [Sun, 1 May 2011 16:14:29 +0000 (16:14 +0000)]
removed #ifndef check for PA_USE_DS from pa_win_ds.c
rossb [Sun, 1 May 2011 12:05:52 +0000 (12:05 +0000)]
fixed copy/past error in PA_USE_DS check code in pa_win_ds.c
philburk [Fri, 25 Mar 2011 17:34:07 +0000 (17:34 +0000)]
Add README for configure.
philburk [Fri, 25 Mar 2011 16:59:27 +0000 (16:59 +0000)]
Remove include for pa_unix_oss.h to fix "make install" on Linux.
philburk [Wed, 16 Mar 2011 22:33:34 +0000 (22:33 +0000)]
Ran autoreconf to update config.guess and other configure files.
philburk [Sun, 13 Mar 2011 00:49:28 +0000 (00:49 +0000)]
Added patest_mono and patest_two_rates to Makefile.in
Verified both and updated README.txt
philburk [Sun, 13 Mar 2011 00:18:45 +0000 (00:18 +0000)]
Ran autoconf to update configure file to fix INCLUDES bug.
dmitrykos [Tue, 8 Mar 2011 17:20:07 +0000 (17:20 +0000)]
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)
philburk [Tue, 8 Mar 2011 00:37:50 +0000 (00:37 +0000)]
Improve latency measurement in loopback so it handles DC steps better.
philburk [Mon, 7 Mar 2011 00:52:47 +0000 (00:52 +0000)]
Convert patest_two_rates.c to V19.
Make paloopback over/underflow report easier to understand.
philburk [Sun, 6 Mar 2011 00:35:24 +0000 (00:35 +0000)]
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.
rossb [Fri, 4 Mar 2011 07:53:36 +0000 (07:53 +0000)]
added newline to print statement
rossb [Fri, 4 Mar 2011 07:19:04 +0000 (07:19 +0000)]
print arguments at startup
rossb [Fri, 4 Mar 2011 05:17:47 +0000 (05:17 +0000)]
changes to get qa building on Windows with msvc. had to move variable declarations to the top of functions (ie ANSI C89)
rossb [Fri, 4 Mar 2011 04:18:44 +0000 (04:18 +0000)]
moved skeleton to end of win32 initializers list so it isn't considered default
rossb [Fri, 4 Mar 2011 04:12:08 +0000 (04:12 +0000)]
support building skeleton host api on windows
rossb [Fri, 4 Mar 2011 03:01:44 +0000 (03:01 +0000)]
paqa: removed non standard and unused #include <strings.h>. updated definitions of pi to double precision
rossb [Fri, 4 Mar 2011 02:28:55 +0000 (02:28 +0000)]
fixed build breakage of patest_wmme_ac3.c on windows
rossb [Fri, 4 Mar 2011 01:45:06 +0000 (01:45 +0000)]
use LoadLibraryA instead of LoadLibrary to support unicode build
philburk [Thu, 3 Mar 2011 01:18:39 +0000 (01:18 +0000)]
Add test for paInt8 to loopback test.
Add separate input and output latency setting options.
Add timeout when waiting for stream to finish.
philburk [Wed, 2 Mar 2011 22:12:23 +0000 (22:12 +0000)]
Fix random code insertion caused by buggy editor on Linux.
Report actual buffer sizes.
philburk [Wed, 2 Mar 2011 21:03:45 +0000 (21:03 +0000)]
Add latency control in loopback to fix Linux latency problems.
philburk [Wed, 2 Mar 2011 17:49:46 +0000 (17:49 +0000)]
Raise pop threshold for loopback test.
philburk [Wed, 2 Mar 2011 17:03:23 +0000 (17:03 +0000)]
Applied patches for Debian Linux for ticket 166.
philburk [Wed, 2 Mar 2011 02:42:57 +0000 (02:42 +0000)]
Set default latency in an attempt to reduce full duplex glitching.
philburk [Wed, 2 Mar 2011 01:53:02 +0000 (01:53 +0000)]
Add test for sample format conversion.
philburk [Tue, 1 Mar 2011 23:02:52 +0000 (23:02 +0000)]
Check for clipping even when loopback devices specified.
philburk [Tue, 1 Mar 2011 22:48:50 +0000 (22:48 +0000)]
Add check for clipping and noise in loopback test.
philburk [Tue, 1 Mar 2011 09:36:31 +0000 (09:36 +0000)]
Remove unused variable in loopback.
philburk [Tue, 1 Mar 2011 09:22:48 +0000 (09:22 +0000)]
Add loopback target to Makefile.
Fixes to loopback test for ALSA.
philburk [Tue, 1 Mar 2011 08:34:46 +0000 (08:34 +0000)]
tweak changeme.txt to test SVN on Ubuntu
philburk [Tue, 1 Mar 2011 02:32:04 +0000 (02:32 +0000)]
ANother attempt at fixing configure make.
philburk [Tue, 1 Mar 2011 02:25:32 +0000 (02:25 +0000)]
Try to fix oddly broken Makefile.in
philburk [Tue, 1 Mar 2011 02:12:46 +0000 (02:12 +0000)]
ANother C99 fix for loopback.
philburk [Tue, 1 Mar 2011 02:02:46 +0000 (02:02 +0000)]
Fix C99 error with modern for loops.
philburk [Tue, 1 Mar 2011 01:54:20 +0000 (01:54 +0000)]
Added paloopback test to the automated build.
philburk [Tue, 1 Mar 2011 00:49:52 +0000 (00:49 +0000)]
Ass semicolon to fix "label at end of compound statement" error
caused by pthread_cleanup_pop(1) macro.
philburk [Mon, 28 Feb 2011 23:56:48 +0000 (23:56 +0000)]
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.
philburk [Mon, 28 Feb 2011 22:27:39 +0000 (22:27 +0000)]
Add a test for non-interleaved blocking writes.
This is to address ticket 83.
philburk [Sun, 27 Feb 2011 01:31:56 +0000 (01:31 +0000)]
Speed up loopback test by testing each sample rate then each buffer size, not full matrix.
philburk [Sun, 27 Feb 2011 00:06:07 +0000 (00:06 +0000)]
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.
dmitrykos [Mon, 21 Feb 2011 22:41:06 +0000 (22:41 +0000)]
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
dmitrykos [Mon, 21 Feb 2011 08:02:21 +0000 (08:02 +0000)]
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
rob_bielik [Thu, 17 Feb 2011 15:56:04 +0000 (15:56 +0000)]
Ticket #132
rossb [Sat, 12 Feb 2011 13:33:18 +0000 (13:33 +0000)]
doc tweak
dmitrykos [Sat, 12 Feb 2011 12:45:27 +0000 (12:45 +0000)]
fixed compilation when Makefile is used by adding missing pa_ringbuffer.o object file
rossb [Sat, 12 Feb 2011 10:22:00 +0000 (10:22 +0000)]
moved src/common/pa_skeleton.c to src/hostapi/skeleton/pa_hostapi_skeleton.c. updated all build files accordingly.