pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/portaudio-devel Don't write an endless stream of...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e3d565a98ab
branches: trunk
changeset: 361808:4e3d565a98ab
user: nat <nat%pkgsrc.org@localhost>
date: Thu Apr 27 07:14:01 2017 +0000
description:
Don't write an endless stream of silence whilst preparing playback.
Bump PKGREVISION.
Addresses PR kern/52196.
diffstat:
audio/portaudio-devel/Makefile | 3 +-
audio/portaudio-devel/distinfo | 3 +-
audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c | 22 ++++++++++
3 files changed, 26 insertions(+), 2 deletions(-)
diffs (51 lines):
diff -r d20a71c757c9 -r 4e3d565a98ab audio/portaudio-devel/Makefile
--- a/audio/portaudio-devel/Makefile Thu Apr 27 06:34:08 2017 +0000
+++ b/audio/portaudio-devel/Makefile Thu Apr 27 07:14:01 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2017/02/22 14:31:26 fhajny Exp $
+# $NetBSD: Makefile,v 1.13 2017/04/27 07:14:01 nat Exp $
DISTNAME= pa_stable_v190600_20161030
PKGNAME= portaudio-devel-20161030
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .tgz
diff -r d20a71c757c9 -r 4e3d565a98ab audio/portaudio-devel/distinfo
--- a/audio/portaudio-devel/distinfo Thu Apr 27 06:34:08 2017 +0000
+++ b/audio/portaudio-devel/distinfo Thu Apr 27 07:14:01 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2017/02/22 14:31:26 fhajny Exp $
+$NetBSD: distinfo,v 1.10 2017/04/27 07:14:01 nat Exp $
SHA1 (pa_stable_v190600_20161030.tgz) = 56c596bba820d90df7d057d8f6a0ec6bf9ab82e8
RMD160 (pa_stable_v190600_20161030.tgz) = e6e5cd3f3cb7469aa17549c189e445d573567e13
SHA512 (pa_stable_v190600_20161030.tgz) = 7ec692cbd8c23878b029fad9d9fd63a021f57e60c4921f602995a2fca070c29f17a280c7f2da5966c4aad29d28434538452f4c822eacf3a60af59a6dc8e9704c
Size (pa_stable_v190600_20161030.tgz) = 1450572 bytes
+SHA1 (patch-src_hostapi_oss_pa__unix__oss.c) = 81b6633bdb1cac8d3397bd7ebb6da1e28b68e3df
diff -r d20a71c757c9 -r 4e3d565a98ab audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c Thu Apr 27 07:14:01 2017 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-src_hostapi_oss_pa__unix__oss.c,v 1.1 2017/04/27 07:14:01 nat Exp $
+
+Don't write an endless stream of silence when preparing the stream.
+
+--- src/hostapi/oss/pa_unix_oss.c.orig 2016-10-30 01:23:04.000000000 +0000
++++ src/hostapi/oss/pa_unix_oss.c
+@@ -1479,6 +1479,7 @@ static PaError PaOssStream_Prepare( PaOs
+
+ /* Looks like we have to turn off blocking before we try this, but if we don't fill the buffer
+ * OSS will complain. */
++#ifndef __NetBSD__
+ PA_ENSURE( ModifyBlocking( stream->playback->fd, 0 ) );
+ while (1)
+ {
+@@ -1486,6 +1487,7 @@ static PaError PaOssStream_Prepare( PaOs
+ break;
+ }
+ PA_ENSURE( ModifyBlocking( stream->playback->fd, 1 ) );
++#endif
+ }
+
+ if( stream->sharedDevice )
Home |
Main Index |
Thread Index |
Old Index