[portaudio] Enable debug output (#4592)

* [portaudio] Enable debug output.

This is enabled by default in the original MSVC project in the PortAudio
distribution, but not in their CMake build. This commit fixes the
regression.

I don't think there are any performance concerns with this, as PortAudio
(AFAICT) does not log from performance-critical code.

Note that this change might still be somewhat controversial, because
PortAudio will by default dump its debug output directly to stderr,
which is not particularly nice. However, the alternative is not having
any way for end users to troubleshoot PortAudio issues at all, which
IMHO is worse. Applications can always call
`PaUtil_SetDebugPrintFunction()` to redirect the output away from
stderr, and I encourage them to do so.

* [portaudio] Bump control version
This commit is contained in:
Etienne Dechamps 2018-11-08 07:50:51 +00:00 committed by Robert Schumacher
parent 130bd6f868
commit 75744206ed

View File

@ -26,6 +26,7 @@ vcpkg_configure_cmake(
-DPA_USE_WASAPI=ON
-DPA_USE_WDMKS=ON
-DPA_USE_WMME=ON
-DPA_ENABLE_DEBUG_OUTPUT:BOOL=ON
)
vcpkg_install_cmake()