1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/audio/vat/files/patch-ak
Bill Fenner 0bbbf2886a patch-ah: add Orion Hodson's full-duplex probing and AC97 fix
patch-a[klmn]: Split original patch-ah into one patch per file patched.

PR:		23618
Submitted by:	Orion Hodson <O.Hodson@cs.ucl.ac.uk>
2001-02-15 15:29:45 +00:00

22 lines
551 B
Plaintext

--- old/audio.cc Fri May 3 13:27:20 1996
+++ audio.cc Thu Apr 16 21:36:33 1998
@@ -70,6 +70,7 @@
filter(new Filter(this)),
handler_(0)
{
+ ext_fname[0]='\0';
for (u_int i = 0; i < sizeof(omode)/sizeof(omode[0]); ++i)
omode[i] = mode_mikemutesnet;
}
@@ -479,6 +480,10 @@
*cp++ = '\0';
return (TCL_OK);
}
+ } else if (strcmp(argv[1], "filename") == 0) {
+ strncpy(ext_fname, argv[2], sizeof(ext_fname));
+ InputPort(input_line3);
+ return (TCL_OK);
}
} else if (argc == 4) {
if (strcmp(argv[1], "input") == 0) {