[portaudio] Add pa_win_waveformat.h to public includes (#4582)

* [portaudio] Add pa_win_waveformat.h to public includes.

pa_win_wasapi.h includes pa_win_waveformat.h, so it has to be
distributed for pa_win_wasapi.h to be usable.

* [portaudio] Bump control version
This commit is contained in:
Etienne Dechamps 2018-11-08 07:45:26 +00:00 committed by Robert Schumacher
parent 40af541c50
commit 52b2759a75
3 changed files with 29 additions and 1 deletions

View File

@ -1,3 +1,3 @@
Source: portaudio
Version: 19.0.6.00-3
Version: 19.0.6.00-4
Description: PortAudio Portable Cross-platform Audio I/O API PortAudio is a free, cross-platform, open-source, audio I/O library. It lets you write simple audio programs in 'C' or C++ that will compile and run on many platforms including Windows, Macintosh OS X, and Unix (OSS/ALSA). It is intended to promote the exchange of audio software between developers on different platforms. Many applications use PortAudio for Audio I/O.

View File

@ -0,0 +1,27 @@
From fa727918e9e56c2a18dbdcfd276c60ac616c56ba Mon Sep 17 00:00:00 2001
From: Etienne Dechamps <etienne@edechamps.fr>
Date: Sat, 27 Oct 2018 15:14:27 +0100
Subject: [PATCH] Add pa_win_waveformat.h to public includes.
pa_win_wasapi.h includes pa_win_waveformat.h, so it has to be
distributed for pa_win_wasapi.h to be usable.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 789671a..6a3ed8e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -210,7 +210,7 @@ IF(WIN32)
IF(PA_USE_WASAPI)
SET(PA_WASAPI_SOURCES src/hostapi/wasapi/pa_win_wasapi.c)
SOURCE_GROUP("hostapi\\wasapi" FILES ${PA_WASAPI_SOURCES})
- SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wasapi.h)
+ SET(PA_PUBLIC_INCLUDES ${PA_PUBLIC_INCLUDES} include/pa_win_wasapi.h include/pa_win_waveformat.h)
SET(PA_SOURCES ${PA_SOURCES} ${PA_WASAPI_SOURCES})
SET(PA_LIBRARY_DEPENDENCIES ${PA_LIBRARY_DEPENDENCIES} ole32 uuid)
IF(NOT MSVC)
--
2.14.1.windows.1

View File

@ -13,6 +13,7 @@ vcpkg_extract_source_archive_ex(
find_dsound.patch
wasapi_support.patch
crt_linkage_build_config.patch
pa_win_waveformat.patch
)
# NOTE: the ASIO backend will be built automatically if the ASIO-SDK is provided