Commit graph

676 commits

Author SHA1 Message Date
Phil Burk
09588cc5d6 pa_mac_core: stop stream instead of asserting
Bug: 158
2016-05-01 18:10:23 -07:00
Phil Burk
6c11a007c5 Merge branch 'ignorebin' into 'master'
gitignore: add more files from configure and make

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218493
2016-05-01 22:42:50 +00:00
Phil Burk
83891bff3f gitignore: add more files from configure and make 2016-05-01 15:39:03 -07:00
Phil Burk
a68bacd2cf Merge branch 'ignore' into 'master'
Add .gitignore for C++

Merged-on: https://assembla.com/code/portaudio/git/merge_requests/3218363
2016-05-01 19:59:13 +00:00
Phil Burk
faff433ba6 Add .gitignore for C++ 2016-05-01 12:54:03 -07:00
philburk
13b2159821 patest_out_underflow: cleanup
Replace some tabs.
Print overflow under stress.
Prevent accidental overrange of phases array.
2016-04-10 18:12:03 +00:00
philburk
3d4139cb00 Update docs for building on Linux 2016-02-15 17:06:54 +00:00
philburk
d0628e9238 Files needed for compiling on El Capitan.
These files were autogenerated using autoreconf based
on changes from the previous commit.
2016-01-04 17:22:56 +00:00
philburk
6e9b37491a Add support for 10.11 SDK so PortAudio can compile on Mac.
Also allow deprecated APIs until we can remove them.

Note that this commit only includes the source files that were changed.
The next commit will include the files that are generated by autoreconf.
So look at this commit to see what really changed.
2016-01-04 17:22:00 +00:00
dmitrykos
f7b2d1542f wasapi: correction to the previous commit 2015-10-21 14:25:07 +00:00
dmitrykos
58eca02986 wasapi: workaround to avoid PaWasapi_Initialize() failure when enumerating devices and device fails to report min/default periods with IAudioClient::GetDevicePeriod(): ignore error and assign WASAPI common known period values for min/default 2015-10-20 16:02:39 +00:00
dmitrykos
4e194eaecf wasapi: support for setting the WASAPI's AudioClientProperties options via PaWasapiStreamInfo struct (__IAudioClient2_INTERFACE_DEFINED__ must be defined by Windows SDK (for Windows 8 and up) to have effect from these new options, otherwise it will be noop) 2015-10-19 11:03:31 +00:00
rbencina
fb929ad5fb update doxygen main page to reference developer guidelines and implementation style guidelines on the Wiki 2015-09-06 13:17:05 +00:00
rbencina
03db857ef7 checkfiledocs.py: blacklist mingw-include from doc check 2015-09-06 12:43:06 +00:00
rbencina
01ae699291 checkfiledocs.py: only check source code under src and include 2015-09-06 12:37:38 +00:00
rbencina
19d0819931 Issue #234 fixed typo in configure and configure.in affecting mingw builds. Rename: pa_win_wdmks_util.o --> pa_win_wdmks_utils.o 2015-09-06 10:55:01 +00:00
rbencina
ebffcefcb9 removed bindings/java from doxygen generated documentation 2015-09-06 10:26:16 +00:00
gineera
c0c0cb1414 Pa_process: Fix output channel adaption by not skipping the conversion when the host and user number-of-channels are not equal. Reported by Leif Asbrink when using an envy24 soundcard on Linux at it's native Int32 format with 1 or 2 channels. Corresponding fix for input already in r1913. 2015-04-19 18:48:38 +00:00
philburk
199e88fa66 Add Pa_GetVersionInfo()
Add scripts to update pa_svnrevision.h
2015-04-10 04:00:09 +00:00
philburk
05bcd37d1f Test adding a second file with SVN keywords. 2015-03-12 16:23:11 +00:00
philburk
aeea9954a6 Used propset to enable SVN keywords on test file. 2015-03-12 16:21:04 +00:00
philburk
9a9d86d87d Experiment with the SVN version keywords. 2015-03-12 16:16:44 +00:00
philburk
cd6b1868de Add version numbering with major.minor.subminor format.
Bump version to 19.5.0
2015-03-03 17:28:15 +00:00
rbencina
039bc21bda pa/wmme: avoid potential (but highly unlikely) overflow in buffer size in call to WideCharToMultiByte if a device name length exceeds INT_MAX. should also fix compiler warning about size_t to int assignment. 2015-01-21 06:52:11 +00:00
rbencina
808eaf5786 removed declaration of unused variable 2015-01-21 06:32:29 +00:00
rbencina
98d12b21fa fixed compiler warning: conversion from 'double' to 'float', possible loss of data 2015-01-21 06:30:53 +00:00
rbencina
b3216e814b disabled deprecated API warning for GetVersionEx in dsound, wmme and wdmks host APIs. 2015-01-21 06:24:32 +00:00
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