Commit graph

599 commits

Author SHA1 Message Date
rbencina
71b8f8142e Removed MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid.lib is no longer in Platform SDK 8.0). Always use static instances of GUIDs like the GCC builds do. Removed ksguid.lib from MSVC project file. The following symbols are no longer used: PA_WDMKS_NO_KSGUID_LIB, PAWIN_WDMKS_NO_KSGUID_LIB; removed them from CMakeLists.txt and the MSVC project file. 2015-01-21 05:35:39 +00:00
rbencina
83056ee196 cpp binding: make operator == and != const. thanks to Riot for this patch. ticket #230 2015-01-20 05:10:17 +00:00
rbencina
7f4f7e44cb PA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelopment host api not paCoreAudio 2014-11-05 01:03:57 +00:00
robiwan
6733684fca Added more debugging info in wdmks/pa_win_wdmks.c 2014-08-28 05:59:40 +00:00
robiwan
d7085cb226 Committing Lelands patch for WDM-KS, should take care of some of the problems referenced here http://music.columbia.edu/pipermail/portaudio/2014-August/016246.html 2014-08-15 06:35:32 +00:00
bejayoharen
55adee0a90 olivier's device name patch for os x 2014-06-28 16:28:17 +00:00
rbencina
4c720adbfa pa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly using tabs). 2014-04-11 05:46:40 +00:00
rbencina
666f30ea67 DirectSound: correctly output device names as UTF-8 when compiled with UNICODE defined. Note that this patch may not be correct if UNICODE is not defined. Patch from Tobias Erichsen. See ticket #224 for details. 2014-04-11 05:44:50 +00:00
rbencina
9222d8bfb4 pa_win_wmme.c: converted tabs to spaces (just a few sections) 2014-04-11 05:31:13 +00:00
rbencina
7a3b2d1dd9 WMME: correctly convert device names to UTF-8, see ticket #224. Thanks to Tobias Erichsen for the patch. 2014-04-11 05:25:48 +00:00
robiwan
4aa340a57e CMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
WDMKS: Support for default device (see caveat for input devices though in ScanDeviceInfos)
       Added possibility to set channel mask
2014-04-09 14:27:21 +00:00
bejayoharen
c8cc50d6d1 Clarified safety of operations in callback (doc) 2014-02-05 18:43:31 +00:00
rbencina
7bb4da2af9 updated Windows+ASIO build tutorial: Building Portaudio for Windows with ASIO support using MSVC. The tutorial was out of date and contained a number of errors that broke the build process. pa_stable_v19_20140130_r1919 2014-01-30 11:46:42 +00:00
rbencina
37e8b23aba tweaked Windows build tutorial: Building PortAudio for Windows using Microsoft Visual Studio - various improvements to clarity of text. Fixed broken ASIO SDK URL. 2014-01-30 10:12:02 +00:00
philburk
13c1e731db Add stub to pa_trace.c to eliminate warning.
"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS
was not defined.
2014-01-17 03:45:15 +00:00
philburk
e4138f1c59 [tests] Add EOL to patest_mono.c
Build was failing on Mac because of the missing end-of-line.
2014-01-16 17:51:26 +00:00
philburk
d51191a829 [macosx] Add support for SDK 10.8 and 10.9.
This was required to fix a broken build caused
by not having SDK 10.7 or earlier.
2014-01-16 17:49:33 +00:00
gineera
5583cd452b Pa_process: Fix input channel adaption by not skipping the input conversion when the host and user number-of-channels are not equal. The bug manifested when recording mono from a stereo-only device (eg with Alsa hw: devices on some sound-cards), and was reported by the Mixxx team -see https://bugs.launchpad.net/mixxx/+bug/900364. (In the long-term, some refactoring may be preferable.) Also fixed copy-paste typos in comments. 2013-11-18 11:42:27 +00:00
gineera
e62b586273 Jack: Add a port-type filter expression to calls to jack_get_ports() so that only audio ports are listed (removing eg Midi etc) as reported by 'sqweek'. 2013-11-15 12:27:07 +00:00
gineera
e2662ae2ad Alsa: Revise the use of the environment variable 'PA_ALSA_PLUGHW' so it correctly influences the Device-List and the capabilities reported. Also rename a mis-leading variable and add one additional DEBUG line. 2013-10-17 12:44:09 +00:00
gineera
27c3b518cb paqa_devs: limit max number of channels tested (to 4); add a fixed decimal format to the timestamp printout. 2013-09-07 10:14:52 +00:00
rbencina
c23e362fcb pa_mac_core.c line 664 fixed incorrect memset size (was using sizeof(ptr) not sizeof(struct type) 2013-08-29 00:36:56 +00:00
gineera
3029485a0e Alsa: Add function to prevent duplicate parts in the visible pa device name string, that occur when the pcm-device name starts with the card name (since they are both used). Achieved by trimming the pcm-device string beginning. 2013-08-27 17:14:51 +00:00
gineera
bbf60ab137 Alsa: Fix memory leak as nonMmapBuffers were not freed (since change to realloc). Clean out corresponding dead code chunk. 2013-08-22 22:01:17 +00:00
gineera
d17353a602 Alsa: Rename some variables in pa_linux_alsa where the meaning is mis-leading or wrong in the Alsa context. Also tweak one debug message and a few typos. 2013-08-22 19:43:07 +00:00
gineera
b1a62661bf Alsa: Fix handling of poll descriptors in PaAlsaStream_WaitForFrames(). Otherwise if capture signals before playback a duplex stream could poll the wrong descriptor, causing a loop (reported by Alexander Kartashov). 2013-08-13 20:37:04 +00:00
rbencina
2a992efaa8 fixed bug that was causing memory corruption in PA/ALSA when host sample format was lager than user format. e.g. using 16 bit output with a sound card that used 24 bit buffers. the incorrect input zeroer was being used. Thanks to Anders Tornvig for identifying the problem 2013-08-06 08:26:55 +00:00
rbencina
1ae8d616a9 fixed doxygen markup for a few line breaks in the tutorial 2013-07-24 15:37:15 +00:00
gineera
80c77d9ae4 OSS: revise default latency reporting: previous fixed values could not actually be achieved with OSS power-of-2 sizes. Instead try a configuration and correctly report the default latency based on one less than the number of fragments; also fix the stream component 'bufSz' calculation. 2013-06-08 19:30:41 +00:00
gineera
28f9ee0965 Alsa: revise latency use and calculations, since the latency should be equivalent to one Alsa period less than the Alsa ringbuffer (was based on the whole). Also fixes failure if zero latency was specified. 2013-06-08 19:12:25 +00:00
gineera
8082b07db4 qa-latency: fix printout typos; re-enable checks of default high vs low latency - but allow them to be equal; remove rogue tab. 2013-05-30 11:30:28 +00:00
rbencina
4149c894a0 added code to print error result from Pa_Initialize() in pa_devs.c example 2013-05-05 14:00:02 +00:00
rbencina
a51584e3b1 factored out InitPaDeviceInfoFromAsioDriver function. skip device rather than failing entire init process if a single ASIO driver returns an error during init. This was happening with MOTU devices if the device wasn't present. See ticket #221 2013-05-02 01:06:01 +00:00
rbencina
3dd3c9f5ce move static variables into x86 section so they don't generate warnings when trying to build on 64 bit 2013-04-07 14:15:24 +00:00
rbencina
85e52783f0 configure.in fix from Leland '[Portaudio] Small patch to fix Mac build' march 4 2013-04-07 10:20:18 +00:00
robiwan
dd82ba9976 Fix for WaveRT WDM drivers that do not support memory mapped position register, and correct 8 channel speaker geometry mapping. 2012-12-28 16:54:25 +00:00
rbencina
33df37a804 increase upper limit for absurd sample rates from 200000 to 384000 Hz. via Richard from Audacity 2012-12-04 18:39:48 +00:00
rbencina
b1f0cc8829 fix assertion failures with blocking io in ASIO host api. host buffer formats were not inited with non-interleaved flag in parameters to blocking i/o buffer processor 2012-12-04 14:45:31 +00:00
rbencina
b054f44292 clarified and corrected comment 2012-11-11 13:27:22 +00:00
rbencina
58d75e6d8e check for NULL data->interface passed to KsPropertySetEnumerateCallback. Thanks to Asinbow Wang 2012-11-10 02:55:20 +00:00
bejayoharen
7236740522 added carbon to docs. 2012-11-08 17:54:26 +00:00
rbencina
878e2d2839 fixes for unicode build 2012-10-31 06:21:34 +00:00
rbencina
f33048b20c fix for unicode build 2012-10-31 06:20:59 +00:00
philburk
042f67383c Add comment about including source code for ring buffer in app. 2012-10-07 19:00:11 +00:00
bejayoharen
109bb6fe1f minor fix for OS X 10.7: include AudioToolbox 2012-10-07 15:31:25 +00:00
robiwan
b053bf5ce9 https://www.assembla.com/spaces/portaudio/tickets/217 2012-09-17 06:19:34 +00:00
philburk
108bcabe4b Add example of calling JPortAudio. 2012-09-04 23:41:14 +00:00
philburk
3291a153e1 Add the JPortAudio JavaDocs to the PortAudio reference. 2012-09-04 23:38:34 +00:00
philburk
d693c3c583 Just return true if a Java blocking IO stream underflows or overflows on read or write.
Only throw an exception if something truly nasty occurs.
2012-09-04 18:25:58 +00:00
philburk
ac4bb571cb Modified to JPortAudio to support builds on Macintosh. 2012-09-02 01:43:30 +00:00