Be
640d26cdea
CMake: build qa executables
2021-04-28 17:13:32 -07:00
Be
ee2c707495
CMake: build all tests
2021-04-28 17:13:32 -07:00
Be
dfa969b3d9
GH Actions: add separate workflow for CMake testing every OS
2021-04-28 17:13:32 -07:00
Be
c5d6563d1c
CMake: bump minimum version to 3.0.0 to fix deprecation warning
2021-04-28 17:13:32 -07:00
Phil Burk
32f5cbda7e
paqa_devs.c: define _USE_MATH_DEFINES ( #554 )
...
before including math.h
Fixes #551
2021-04-17 13:00:18 -07:00
Phil Burk
df2be4e048
patest_unplug.c: change int32_t to int ( #553 )
...
To prevent compiler errors and to avoid controversy over
stdint.h vs inttypes.h.
Fixes #550
2021-04-17 12:56:16 -07:00
Phil Burk
67caa13f19
fix patest_converters.c argc argv order ( #544 )
...
They were reversed.
Also added void casts to prevent unused parameter warnings.
2021-04-12 06:29:03 -07:00
Ross Bencina
147dd72254
Improve JACK regex pattern escape code (see ticket #534 ). Improves previously merged PR #405 master commit eec7bb7 by performing string conversion directly in to the target buffer, thus avoiding one allocation and one strncpy per client/device name. ( #536 )
v19.7.0-RC2
v19.7.0
2021-03-31 17:17:30 -07:00
Be
eec7bb7397
JACK PipeWire fixes (escape regex chars) ( #504 )
...
This patch fixes a problem caused by special regex characters
appearing in the device names when using the Jack interface to PipeWire.
It is uncommon for JACK ports to have any characters that need to
be escaped in a regex. jackd simply calls the audio interface
"system". However PipeWire uses the device name from ALSA for the
JACK port names. If this contains any special regex characters,
BuildDeviceList would find the device but determine it has 0
input channels and 0 output channels. In my case, I have an RME
Babyface Pro which puts its serial number in parentheses:
$ aplay -l
card 0: Pro70785713 [Babyface Pro (70785713)], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0 : subdevice #0
2021-03-19 10:51:31 -07:00
Phil Burk
3f7bee79a6
Bump version to 19.7.0
2021-03-07 07:33:41 -08:00
Phil Burk
b14e866b27
configure: better test for Mac OS arch
...
Use AC_COMPILE_IFELSE because AC_TRY_COMPILE is deprecated.
Include cdefs.h because it has checks for architcture.
2021-02-25 07:06:33 -08:00
petris
793c7ffc18
WASAPI final whitespace fix
2021-02-24 17:34:47 -08:00
MichalPetryka
78415a838a
Add .editorconfig ( #394 )
2021-02-18 12:49:18 +11:00
Ross Bencina
79932a5919
Clean up whitespace in src/hostapi/coreaudio in preparation for .editorconfig. ( #502 )
...
* Clean up whitespace in src/hostapi/coreaudio in preparation for .editorconfig. Convert tabs to 4 spaces. Indent by 4 spaces. Strip trailing whitespace. Ensure only one EOL at EOF.
2021-02-18 12:11:14 +11:00
Dmitry Kostjuchenko
078fc760c5
Merge pull request #510 from alienpenguin/fix-vs2010-compilation
...
wasapi: Fix compilation for VS2010.
2021-02-17 09:13:45 +02:00
Francesco Lamonica
9ef2c28bb8
fixed VS2010 compilation
2021-02-16 23:15:53 +01:00
Dmitry Kostjuchenko
8ccd53fe7c
Merge pull request #509 from PortAudio/winrt
...
wasapi: Fixed compilation for UWP platform, minor cleanup and refactoring.
2021-02-16 12:54:24 +02:00
dmitrykos
712685c71a
wasapi: Fixed compilation for UWP platform, minor cleanup and refactoring.
2021-02-16 12:43:58 +02:00
Dmitry Kostjuchenko
c47aa44c1c
Merge pull request #508 from PortAudio/winrt
...
wasapi: Fixed glitchy audio in case of Exclusive polling mode and 24-bit packed format.
2021-02-16 12:34:26 +02:00
dmitrykos
7926e3a8ee
wasapi: Fixed glitchy audio in case of Exclusive mode, 24-bit packed format and USB DAC (other audio devices using the same audio format could be affected too).
2021-02-16 12:15:00 +02:00
Phil Burk
0ac93f8634
coreaudio: remove pa_mac_core_old.c
...
It has not been used for years.
Fixes #493
2021-02-12 08:13:07 -08:00
MichalPetryka
73291bb1f5
Cleanup newlines at EOF in oss ( #491 )
2021-02-11 14:02:46 +11:00
MichalPetryka
94e4cf69c3
Cleanup newlines at EOF in dsound ( #490 )
2021-02-11 14:02:22 +11:00
Peter Ross
b2a4d5cb80
configure/make: export PaWasapi_* and PaWasapiWinrt_* symbols ( #500 )
2021-02-11 12:37:23 +11:00
Phil Burk
fa42d1284e
macos: consider major version 11
...
Change version logic to allow for major 11 or later.
Partial fix for #492
2021-02-10 17:11:52 -08:00
Dmitry Kostjuchenko
0b73f1589c
Merge pull request #496 from rouseabout/master
...
wasapi: add PaWasapi_GetIMMDevice function
2021-02-09 23:39:33 +02:00
Peter Ross
38eba25bcc
WASAPI: Add PaWaspi_GetIMMDevice function
...
The IMMDevice pointer enables access to audio device capabiltiies not exposed by PortAudio.
https://docs.microsoft.com/en-us/windows/win32/api/mmdeviceapi/nn-mmdeviceapi-immdevice
2021-02-10 08:10:21 +11:00
Dmitry Kostjuchenko
ec3dd05855
Merge pull request #499 from rouseabout/consistent-export-symbol-numbers
...
cmake_support/template_portaudio.def: make symbol numbers consistent …
2021-02-09 23:03:29 +02:00
Peter Ross
0f26679b88
cmake_support/template_portaudio.def: make symbol numbers consistent with build/msvc/portaudio.def
2021-02-10 07:29:15 +11:00
orbea
4932b488c5
build: Fix builds with parallel make.
2021-02-05 15:40:33 -08:00
John Melas
dd857f6108
replace Carbon with CoreFoundation and CoreServices
2021-02-05 11:06:09 -08:00
Ed Maste
607b7d94d0
OSS: support 32-bit signed format AFMT_S32_NE ( #462 )
...
It may not be provided by all OSS implementations, so wrap the cases in
`#ifdef AFMT_S32_NE`.
2021-02-04 13:11:03 +11:00
Phil Burk
51547aa31c
configure: add arm64 for Mac M1
...
Add additional architecture to builds.
Fixes #445
2021-02-03 17:35:08 -08:00
Phil Burk
9756c86061
configure: add INCLUDES for mingw build
...
Previously, only portaudio.h was installed when building under mingw using
make. This behavior differs from CMakeLists.txt PA_PUBLIC_INCLUDES where
pa_win_*.h header files are installed.
To cross-compile using MXE (https://mxe.cc/ ) we need pa_win_*.h headers.
Add them to configure.in so that they are installed.
Patch by Stefan Hajnoczi
2021-02-03 17:31:02 -08:00
MichalPetryka
9a5c7cb346
Cleanup newlines at EOF in skeleton ( #480 )
2021-02-04 12:20:11 +11:00
MichalPetryka
74fa59a036
Cleanup newlines at EOF in src/os/win ( #481 )
2021-02-04 12:19:45 +11:00
MichalPetryka
b5a55169b9
Cleanup newlines at EOF in src/common ( #482 )
2021-02-04 12:19:23 +11:00
MichalPetryka
67dc808f69
Cleanup newlines at EOF in src/hostapi/asio ( #483 )
2021-02-04 12:18:29 +11:00
Ross Bencina
d36033d5da
Clean up whitespace in src/hostapi/wasapi in preparation for .editorconfig. Indent by 4 spaces. Strip trailing whitespace. ( #477 )
2021-02-04 12:17:29 +11:00
Ross Bencina
bfb9b7f7e7
Clean up whitespace in src/hostapi/wdmks in preparation for .editorconfig. Indent by 4 spaces. Strip trailing whitespace. ( #476 )
2021-02-04 12:17:16 +11:00
Ross Bencina
3686f2f053
Clean up whitespace in src/hostapi/alsa in preparation for .editorconfig. Indent by 4 spaces. ( #475 )
2021-02-04 12:17:00 +11:00
Davide Gerhard
813b281826
pa_mac_core.c: add missing definition to fix build on older systems
...
thanks to @kencu
2021-01-31 09:08:05 -08:00
luz paz
52b1026c1f
Fix user-facing and non-user-facing typos
...
Found via `codespell v2.1.dev0`
`codespell -q 3 -L chello,gord,guid,numer,pres,uint,wirth`
2021-01-27 17:40:26 -08:00
John Melas
b50bca981e
use variadic arguments in DEFINE_GUID also for MSVC ( #374 )
...
The fix for DEFINE_GUID that was recently added in pa_win_wdmks.c is also needed for the MSVC compiler.
Latest versions of the compiler support the /Zc:preprocessor option which is conforming to C99 and later standards
https://docs.microsoft.com/en-us/cpp/build/reference/zc-preprocessor?view=msvc-160
so it generates the exact same error as Clang (too many arguments error).
Co-authored-by: John Melas <john@jmelas.gr>
2021-01-28 12:29:24 +11:00
Ross Bencina
358d153564
Run MSBuild MSVC project CI for pull requests ( #419 )
2021-01-27 23:50:10 +11:00
Phil Burk
fa525d6199
mac autoconf: support current and future SDKs ( #470 )
...
Improve the way we generate the path to the SDK so that it
it not tied to specific Mac versions.
Also changed macosx-version-min to 10.6
Fixes #378
Fixes #468
Use xcrun instead of xcodebuild
Note that "configure" was generated using autoconf on Linux.
2021-01-26 15:25:10 -08:00
Phil Burk
68e1c5685b
Fix patest1 printf ( #467 )
...
* Fix patest1.c printf
Got changed from fprintf() accidentally.
Fixes #466
2021-01-24 14:54:28 -08:00
orbea
6a86d4bd3b
autoconf build: add src dir src/hostapi/skeleton to fix out of tree builds."
2021-01-22 07:40:11 -08:00
petris
85f7602a3c
Whitespace cleanup in test
2021-01-22 07:34:52 -08:00
petris
92e7210603
Whitespace cleanup in examples
2021-01-22 07:34:09 -08:00