- use the capture parameters argument instead of the playback
parameters argument with Pa_IsFormatSupported() when checking if certain capture parameters are supported. - take maintainership per former MAINTAINER's suggestion
This commit is contained in:
parent
27ee0a793c
commit
46383da97f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2008/02/09 15:07:19 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2008/03/24 05:31:48 jakemsr Exp $
|
||||
|
||||
COMMENT= free audio editor
|
||||
|
||||
V= 1.3.4
|
||||
DISTNAME= audacity-src-${V}
|
||||
PKGNAME= audacity-${V}p2
|
||||
PKGNAME= audacity-${V}p3
|
||||
CATEGORIES= audio
|
||||
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@ -13,7 +13,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=audacity/}
|
||||
|
||||
HOMEPAGE= http://audacity.sourceforge.net/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
MAINTAINER= Jacob Meuser <jakemsr@openbsd.org>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-src_AudioIO_cpp,v 1.2 2007/12/08 11:08:38 ajacoutot Exp $
|
||||
--- src/AudioIO.cpp.orig Sat Nov 24 12:37:27 2007
|
||||
+++ src/AudioIO.cpp Sat Nov 24 12:39:46 2007
|
||||
$OpenBSD: patch-src_AudioIO_cpp,v 1.3 2008/03/24 05:31:48 jakemsr Exp $
|
||||
--- src/AudioIO.cpp.orig Sun Mar 2 02:32:09 2008
|
||||
+++ src/AudioIO.cpp Sun Mar 2 02:33:50 2008
|
||||
@@ -490,7 +490,7 @@ void AudioIO::HandleDeviceChange()
|
||||
if( error )
|
||||
return;
|
||||
@ -10,3 +10,21 @@ $OpenBSD: patch-src_AudioIO_cpp,v 1.2 2007/12/08 11:08:38 ajacoutot Exp $
|
||||
|
||||
if (!mPortMixer) {
|
||||
Pa_CloseStream(stream);
|
||||
@@ -1516,7 +1516,7 @@ wxArrayLong AudioIO::GetSupportedCaptureRates(wxString
|
||||
|
||||
for (i = 0; i < NumStandardRates; i++)
|
||||
{
|
||||
- if (Pa_IsFormatSupported(NULL, &pars, StandardRates[i]) == 0)
|
||||
+ if (Pa_IsFormatSupported(&pars, NULL, StandardRates[i]) == 0)
|
||||
{
|
||||
supported.Add(StandardRates[i]);
|
||||
}
|
||||
@@ -1524,7 +1524,7 @@ wxArrayLong AudioIO::GetSupportedCaptureRates(wxString
|
||||
|
||||
if (irate != 0 && supported.Index(irate) == wxNOT_FOUND)
|
||||
{
|
||||
- if (Pa_IsFormatSupported(NULL, &pars, irate) == 0)
|
||||
+ if (Pa_IsFormatSupported(&pars, NULL, irate) == 0)
|
||||
{
|
||||
supported.Add(irate);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user