Mercurial > mxe-octave
changeset 5754:ab8e5b32691d
portaudio: update to v19.7
* src/portaudio.mk: update version/checksum
* src/portaudio-1-win32.patch: remove patch
* dist-files.mk: remove ref to patch
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 27 Apr 2021 09:25:21 -0400 |
parents | b72a4afee1a7 |
children | 83d88df0c7d8 |
files | dist-files.mk src/portaudio-1-win32.patch src/portaudio.mk |
diffstat | 3 files changed, 3 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Tue Apr 27 09:25:20 2021 -0400 +++ b/dist-files.mk Tue Apr 27 09:25:21 2021 -0400 @@ -587,7 +587,6 @@ poppler.mk \ popt-1-win32.patch \ popt.mk \ - portaudio-1-win32.patch \ portaudio-test.c \ portaudio.mk \ postgresql.mk \
--- a/src/portaudio-1-win32.patch Tue Apr 27 09:25:20 2021 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -diff -ur portaudio.orig/src/hostapi/dsound/pa_win_ds.c portaudio/src/hostapi/dsound/pa_win_ds.c ---- portaudio.orig/src/hostapi/dsound/pa_win_ds.c 2016-12-30 08:41:50.075512531 -0500 -+++ portaudio/src/hostapi/dsound/pa_win_ds.c 2016-12-30 08:46:26.248068904 -0500 -@@ -904,6 +904,9 @@ - case DSSPEAKER_STEREO: count = 2; break; - case DSSPEAKER_SURROUND: count = 4; break; - case DSSPEAKER_5POINT1: count = 6; break; -+#ifndef DSSPEAKER_7POINT1 -+#define DSSPEAKER_7POINT1 0x00000007 -+#endif - case DSSPEAKER_7POINT1: count = 8; break; - #ifndef DSSPEAKER_7POINT1_SURROUND - #define DSSPEAKER_7POINT1_SURROUND 0x00000008 -@@ -2136,7 +2139,8 @@ - } - else - { -- CalculateBufferSettings( &stream->hostBufferSizeFrames, &pollingPeriodFrames, -+ CalculateBufferSettings( (unsigned long *)&stream->hostBufferSizeFrames, -+ &pollingPeriodFrames, - /* isFullDuplex = */ (inputParameters && outputParameters), - suggestedInputLatencyFrames, - suggestedOutputLatencyFrames,
--- a/src/portaudio.mk Tue Apr 27 09:25:20 2021 -0400 +++ b/src/portaudio.mk Tue Apr 27 09:25:21 2021 -0400 @@ -3,11 +3,11 @@ PKG := portaudio $(PKG)_IGNORE := -$(PKG)_VERSION := 190600_20161030 -$(PKG)_CHECKSUM := 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8 +$(PKG)_VERSION := 190700_20210406 +$(PKG)_CHECKSUM := b7e9b9c53d993f6d110487ef56a3d4529d21b2f1 $(PKG)_SUBDIR := portaudio $(PKG)_FILE := pa_stable_v$($(PKG)_VERSION).tgz -$(PKG)_URL := http://www.portaudio.com/archives/$($(PKG)_FILE) +$(PKG)_URL := http://files.portaudio.com/archives/$($(PKG)_FILE) $(PKG)_DEPS := $(PKG)_SYSDEP_OPTIONS :=