Commit graph

254 commits

Author SHA1 Message Date
Ross Bencina
e7a274942b Improves device selection via portaudio for MacOSX (hostapi coreaudio):
adds the possibility to get the device transport type (USB, bluetooth,
etc.) and an unique identifier. Corrects problems when: loading the same
device twice (for the moment only for the same hostapi), a new plugged
device is selected during a call or if the selected device is unchanged.
Vincent Lucas committed on Oct 29, 2012
26848f0 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:34:22 +10:00
Ross Bencina
b77a1f828c Adds portaudio sources [adds hotplug support for pa_linux_alsa,
pa_mac_core, plus some other tweaks]
damencho committed on Mar 29, 2012
d2076b1 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:29:58 +10:00
Ross Bencina
d13fcd8ea9 Roll-up of SVN hotplug branch at most recent revision (r1677), based at the same point in the master revision history as it was originally applied. 2016-09-03 22:22:52 +10: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
rob_bielik
59f8c8975c Ticket #132 2011-02-17 15:56:04 +00:00
rossb
bc81ee0ed2 doc tweak 2011-02-12 13:33:18 +00:00
dmitrykos
e1ba3369da fixed compilation when Makefile is used by adding missing pa_ringbuffer.o object file 2011-02-12 12:45:27 +00:00
rossb
54aaddf9e3 moved src/common/pa_skeleton.c to src/hostapi/skeleton/pa_hostapi_skeleton.c. updated all build files accordingly. 2011-02-12 10:22:00 +00:00
rossb
af36f2762b added braces to clarify precedence in latency calculation expression 2011-02-12 09:26:30 +00:00
rossb
e794f3bd02 renamed some latency variables to make it clear they are in frames not seconds 2011-02-12 09:21:52 +00:00