robiwan
eaf970f1e2
Removed warnings when building with MinGW
2012-06-30 05:47:46 +00:00
robiwan
1cc4bbbf9a
Changes to make compilation/linking work on Mingw
2012-06-29 12:30:43 +00:00
robiwan
3d13eb88be
Added option to CMakeLists.txt to enable PA debug output
2012-06-29 11:45:21 +00:00
robiwan
3438e46e74
Minor refactoring to remove some warnings
2012-06-29 11:44:12 +00:00
robiwan
2e6ad64c00
Changed so that Mingw build should reference WASAPI supplied Mingw includes + minor refactorings
2012-06-29 10:04:30 +00:00
robiwan
2f29f8611c
Added GUID, enumerators and structs to accomodate Vista and later OSs.
2012-06-29 09:58:48 +00:00
philburk
b4a22b91ff
Fix ring buffer handling in pa_mac_core.c that caused many spurious paInputOverflow flags.
...
Fixed size bug when input underflow detected. Code was confused between bytes and elements.
Zero out the beginning of a recording when detecting pops to prevent start of audio from looking like a pop in qa loopback test.
2012-06-25 01:12:29 +00:00
philburk
44bdc45b2a
Added counters for status flags in patest_wire.c. It then prints how many under and overflows occured.
...
This was added to help debug issue #171 .
2012-06-22 21:58:10 +00:00
philburk
39f9a22d28
Fixed warnings that broke build.
...
Fixed bug added to paqa_latency.c that caused a failed test to appear to succeed. Error result was not passed up to main.
2012-06-22 21:02:36 +00:00
robiwan
3e9e7dd334
Forgot error check after Pa_OpenStream. Naughty.
2012-06-19 20:08:03 +00:00
robiwan
9f48ec4609
Added C++ variant of paex_sine
2012-06-19 20:03:33 +00:00
gineera
6d881ec6dc
qa-latency: use defaultSampleRate; fix crash on single loops; change latency check limits; continue after a failed test; some alterations to printed messages.
2012-06-05 16:36:54 +00:00
robiwan
86aef22e9c
Fixed bug in DS code
2012-05-30 06:37:58 +00:00
philburk
ef2e72c22a
Added build instruction for loopback test.
2012-05-27 00:46:28 +00:00
gineera
f69a02a99a
Alsa: re-write SetApproximateSampleRate() to allow small deviations from a nominal requested rate, so inexactly clocked cards do not fail (use 1% tolerance).
2012-05-18 16:04:30 +00:00
gineera
8a244e09f1
Alsa: remove tabs and fix whitespace in pa_linux_alsa.c in line with the Portaudio coding standards
2012-05-04 08:18:05 +00:00
gineera
d82cd55923
Alsa: default sample rate should always be chosen with Alsa-lib sample-rate conversion disabled.
2012-05-02 21:46:01 +00:00
gineera
ce083a09b7
Alsa: fix defaultHighLatency - sample rate has to be set following reset of hwParams.
2012-05-02 21:32:40 +00:00
rbencina
ebd20865db
rolling back r1822 and r1815 to pa_linux_alsa.c . will recommit on alsa_hw_endian_subdevice branch
2012-05-01 08:18:14 +00:00
dmitrykos
4ae4fa0ef9
wasapi: provide meaningful error code when opening the stream and error occurred instead of just paInvalidDevice
2012-04-16 08:16:20 +00:00
dmitrykos
5701b05e0f
wasapi: zero wasapi host api rep immediately after init. prevents (unlikely) issue with trying to free uninited allocations if com init fails during Pa_Initialize() (Ross Bencina)
2012-04-02 12:25:14 +00:00
rbencina
17e4472219
zero asio host api rep immediately after init. prevents (unlikely) issue with trying to free uninited allocations if com init fails during Pa_Initialize()
2012-04-02 07:58:04 +00:00
rbencina
e2f0932362
explicit casts for double->int. comment cleanups. fixed an bug where uninited pointer could be freed during teardown if memory allocation failed during directsound host api init (extremely unlikely).
2012-04-02 07:45:18 +00:00
rbencina
21f039bd09
fixed typo in comment. added whitespace.
2012-04-02 07:20:04 +00:00
dmitrykos
1526a5bfc7
alsa: fix paSwapEndian applied to non-24bit formats due to incorrect logic of tests
2012-03-28 16:14:49 +00:00
gineera
00502bdef0
Alsa: add a workaround for stuttering/xruns when using default device on Alsa-lib older than 1.0.16 (caused by zero 'revents' when poll() returns).
2012-03-01 21:20:07 +00:00
robiwan
1c9b4fe4b9
WDM-KS:
...
- Fixed so default sample rate prioritizes frequencies earlier in search order
- Changed WIN32 to _WIN32 (as it is always defined, both in x86 & x64 builds)
2012-02-25 07:43:10 +00:00
robiwan
32e0080310
ASIO:
...
- Certain drivers write over the available memory of PaAsioDriverInfo, now a padding area makes sure
the stack doesn't get corrupted.
WDM-KS:
- Corrected capture event handling
2012-02-23 15:29:24 +00:00
robiwan
f5bb9cfec0
Added support for displaying UTF-8 encoded device names
2012-02-22 12:44:10 +00:00
robiwan
6803965617
General:
...
- Change of CMake options to utilize built in header configuration support (PA_USE_*)
- Added CMakeLists.txt for examples
- Added paex_ocean_shore.c as an example how to use PA ring buffer for lock-free communication with the audio callback
WDM-KS:
- Added better default sample rate support
- Made sure that all pins now have a name, even if only "Input" or "Output"
- IsUSBDevice fixed acc. to Alex Lessard's suggestion
- IsNameUSBAudioDevice fixed similarly
2012-02-22 12:20:26 +00:00
dmitrykos
d998066452
alsa:
...
- support for sub-devices;
- fixed 24-bit format support for some devices which on little-endian machine operate only in big-endian format, example of such device is Audio4DJ which supports only SND_PCM_FORMAT_S24_3BE (for this patch implemented support only for 24-bit audio samples although other formats may be added in case of necessity and if such devices exist);
! special thanks to Owen Williams from Mixxx project who tested these changes/fixes on real Audio4DJ device.
2012-02-16 16:59:03 +00:00
dmitrykos
341eb04550
wasapi:
...
- fixed possible buffer overrun inside WASAPI for Output poll-driven mode according ticket #196 (thanks to Ross Bencina for spotting this and proposing the solution)
2012-02-16 15:02:08 +00:00
dmitrykos
9bc432b603
wasapi:
...
- fixed device name incorrect in case it contains non-Latin characters (thanks to Robert Bielik for proposed solution), now it is converted to UTF-8 encoded string
- fixed damaged audio (pops & clicks) for Input exclusive event-driven mode if specified latency was below 23 ms
2012-02-16 14:49:28 +00:00
robiwan
c5874f23c4
Merged WaveRT branch (excluding stuff pertaining to ticket #169 )
2012-02-14 09:32:57 +00:00
rbencina
de1d97419b
cleaned up tutorial start page
2012-01-25 07:08:11 +00:00
rbencina
b9b26560a9
doc tweak
2012-01-25 06:52:41 +00:00
rbencina
1610f46ddf
tweaked tutorial doc to reference local files
2012-01-25 06:50:10 +00:00
rbencina
692afbcbaa
added tutorial doxygen pages converted from old trac wiki
2012-01-25 06:44:05 +00:00
rossb
0a05ae27fe
fixed bug in coreaudio host api: suggested latency of zero with fixed user buffer size resulted in min supported buffer size instead of requested user buffer size
2012-01-11 13:22:50 +00:00
rossb
4b2f4dcd37
added function to query core audio buffer size range
2012-01-11 13:03:11 +00:00
rossb
c1390f8c18
fixed regression in r1718 (PA/coreaudio) where PA callback timestamps would be offset by massive latency (frames interpreted as seconds) if the initial query for actual device sample rate failed. This checkin reinstates the use of nominal sample rate as default for latency calculations when actual sample rate query fails.
2011-12-27 08:58:59 +00:00
alan_horstmann
56f148f7b8
Correct some entries in the devices 'predefinedNames' list - 'dmix' device is always only for playback. This removes an Alsa-lib dmix error message during Portaudio initialization.
2011-12-08 19:43:29 +00:00
rossb
220b2989ec
added dsound find best latency params test. resolves #186
2011-11-24 18:58:13 +00:00
rossb
e996fc8ff6
Implemented host-API specific mechanism for setting DirectSound buffer sizes in frames. resolves #129
2011-11-24 18:11:33 +00:00
rossb
d60f24abc5
updated ASIO-README.txt closes ticket #8
pa_stable_v19_20111121_r1788
2011-11-20 07:12:10 +00:00
philburk
4d310bdef2
Ran autoreconf for mods from Ross.
2011-11-11 18:27:15 +00:00
rossb
a665b0928c
fixed configure.in and makefile.in. attempt #2 . fixes incorrect escapes in r1772
2011-11-11 04:06:17 +00:00
philburk
bc0538e059
Ran autoreconf for configure updates.
2011-11-10 18:33:29 +00:00
rossb
24f64176e7
name therapy: suggestedLatency => targetBufferingLatency
2011-11-10 14:51:15 +00:00
rossb
434f36c1c7
name therapy: renamed suggestedLatencyFrames to targetBufferingLatencyFrames
2011-11-10 13:59:53 +00:00