1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/audio/autozen/files/patch-ac
Trevor Johnson e482307ca8 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
2003-11-29 17:09:32 +00:00

23 lines
588 B
Plaintext

$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 */
gtk_file_selection_set_filename (GTK_FILE_SELECTION(filew),
- "*.seq");
+ "X11BASE/share/autozen/*.seq");
gtk_file_selection_complete( GTK_FILE_SELECTION(filew), "*.seq");
gtk_widget_show(filew);