summaryrefslogtreecommitdiff
path: root/audio/autozen
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-11-29 17:09:32 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-11-29 17:09:32 +0000
commite482307ca87900370ca95fe214fb23538e48a64d (patch)
treea30f7371bc5f973ddbbc73711a0d83af120809c5 /audio/autozen
parentUpdate to an interm version that handles 5.2-RELEASE. (diff)
Use a sampling rate that works with the AudioPCI ES1371-B in my
Dell OptiPlex GX110. Submitted by: FireWire BSD of e-tahan.com, who discussed the problem with autozen author Steven James (I don't know which of them found the fix) Approved by: portmgr
Notes
Notes: svn path=/head/; revision=94822
Diffstat (limited to 'audio/autozen')
-rw-r--r--audio/autozen/Makefile2
-rw-r--r--audio/autozen/files/patch-ac15
2 files changed, 14 insertions, 3 deletions
diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile
index 73148b3202a1..0aa2e544476e 100644
--- a/audio/autozen/Makefile
+++ b/audio/autozen/Makefile
@@ -7,6 +7,7 @@
PORTNAME= autozen
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.linuxlabs.com/software/download/
DISTNAME= AutoZen-${PORTVERSION}
@@ -18,7 +19,6 @@ WRKSRC= ${WRKDIR}/AutoZen-${PORTVERSION}
MAKE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
-BROKEN= "on certain audio hardware, does not produce sound"
USE_GNOME= gtk12
USE_X_PREFIX= yes
USE_REINPLACE= yes
diff --git a/audio/autozen/files/patch-ac b/audio/autozen/files/patch-ac
index 375b3d7f87c7..5dc3317c05fa 100644
--- a/audio/autozen/files/patch-ac
+++ b/audio/autozen/files/patch-ac
@@ -1,5 +1,16 @@
---- autozen.c.orig Sun Mar 4 16:56:21 2001
-+++ autozen.c Mon Apr 9 23:49:01 2001
+$FreeBSD$
+
+--- autozen.c.orig Mon Mar 5 00:56:21 2001
++++ autozen.c Tue Nov 25 18:17:00 2003
+@@ -92,7 +92,7 @@
+ //
+ /////////////////////////////////
+
+-#define SAMPLE_RATE 8000
++#define SAMPLE_RATE 11025
+
+ #define MAX_HARMONICS 3
+
@@ -223,7 +223,7 @@
/* Lets set the filename, as if this were a save dialog, and we are giving
a default filename */