diff options
author | Bill Fenner <fenner@FreeBSD.org> | 2001-02-15 15:29:45 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 2001-02-15 15:29:45 +0000 |
commit | 0bbbf2886a413607c26e164f4a0a0e4ef5a2a3e0 (patch) | |
tree | baa342413729f6470ff7b0008db7f458e6ad648a /audio/vat/files/patch-ak | |
parent | Update to 2.4. (diff) |
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>
Notes
Notes:
svn path=/head/; revision=38376
Diffstat (limited to 'audio/vat/files/patch-ak')
-rw-r--r-- | audio/vat/files/patch-ak | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/audio/vat/files/patch-ak b/audio/vat/files/patch-ak new file mode 100644 index 000000000000..d45528e48bc6 --- /dev/null +++ b/audio/vat/files/patch-ak @@ -0,0 +1,21 @@ +--- 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) { |