Commit graph

260 commits

Author SHA1 Message Date
Ross Bencina
66bda13f84 Ports Portaudio WMME device timeout system to MacOsX CoreAudio in order to
avoid deadlock when a device is unplugged.
Vincent Lucas committed on Jan 10, 2013
2a20693 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:53:30 +10:00
Ross Bencina
ab8b64023c Commits the C source code of a refining of the automatic audio device
selection to pick up devices from the same hardware.
lyubomir committed on Dec 19, 2012
6441b56 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:51:44 +10:00
Ross Bencina
c534056a7b Fixes freezes in Pa_ReadStream, Pa_StopStream and Pa_WriteStream and
incorrect causes of paInvalidChannelCount errors in PortAudio on
Windows/WMME. Mitigates an issue with hightened CPU usage (on all
supported operating systems) related to hotplug.
lyubomir committed on Dec 4, 2012
a45b993 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:49:43 +10:00
Ross Bencina
6c6269425f - Fixes multiple crashes in PortAudio.
- Removes the DirectSound support from PortAudio in order to prevent
  issues with bad audio quality.
  - Attempts to recognize USB PortAudio devices on Windows as such,
    ignores the virtual Microsoft Sound Mapper devices to avoid user
    confusion. Contributed by Vincent Lucas.
    lyubomir committed on Nov 15, 2012
    a93910c from
    https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:46:54 +10:00
Ross Bencina
15d77417bf Adds hotplug to portaudio wmme host api, also fixes a NPE that can prevent
device change updates.
damencho committed on Nov 6, 2012
5ca6fed from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:44:31 +10:00
Ross Bencina
0a7b80cfce Adds device uid for wmme and dsound devices.
damencho committed on Nov 3, 2012
7e70e94 from https://github.com/jitsi/libsrc/commits/master/portaudio.zip
2016-09-03 22:36:13 +10:00
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