aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2003-11-30 01:09:32 +0800
committertrevor <trevor@FreeBSD.org>2003-11-30 01:09:32 +0800
commitaf1d5d5a286b08dc5374d32e5c09c3fef0d58823 (patch)
tree78e2df8602c81169adafe9714ba55355f1f88117 /audio
parent169a77f70efdc31ddf53230e6d61465f1cdfb16b (diff)
downloadfreebsd-ports-graphics-af1d5d5a286b08dc5374d32e5c09c3fef0d58823.tar.gz
freebsd-ports-graphics-af1d5d5a286b08dc5374d32e5c09c3fef0d58823.tar.zst
freebsd-ports-graphics-af1d5d5a286b08dc5374d32e5c09c3fef0d58823.zip
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
Diffstat (limited to 'audio')
-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 73148b3202a..0aa2e544476 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 375b3d7f87c..5dc3317c05f 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 */