--- audiooss-1.0.0.orig/audiooss.c +++ audiooss-1.0.0/audiooss.c @@ -37,6 +37,18 @@ Convenience hack. */ #define MIXER_HACK +/* Amazingly Dodgy Hack(TM): For filesystems that support >2GB files, gcc + * defines a separate open64() function and uses appropriate magic in + * to turn open() calls into open64() calls; thus we need to + * hijack open64() as well as open(). --dsb */ +#define OPEN64_HACK + +/* Yet Another Hack: "-D_FILE_OFFSET_BITS=64" defines open() as an alias + * for __open(), which makes our own definition of open() invalid. Since + * we don't use any of the interfaces _FILE_OFFSET_BITS affects, simply + * undefine it. --mv */ +#undef _FILE_OFFSET_BITS + /* You'll probably start breaking programs if you fiddle with the constants below. But by all means, have a try! */ @@ -221,6 +233,76 @@ } } +#ifdef OPEN64_HACK +int +open64 (const char *pathname, int flags, ...) +{ + static int (*func) (const char *, int, mode_t) = NULL; + va_list args; + mode_t mode; + + if (!func) + func = (int (*) (const char *, int, mode_t)) dlsym (REAL_LIBC, "open64"); + + va_start (args, flags); + mode = va_arg (args, mode_t); + va_end (args); + + /* Do not intercept sunos /dev/audioctl access */ + if ( pathname && strncmp (pathname, "/dev/audioctl", 13) && ((!strncmp (pathname, "/dev/dsp", 8)) || (!strncmp (pathname, "/dev/adsp", 9)) || (!strncmp (pathname, "/dev/audio", 10)))) + { + if (!strncmp (pathname, "/dev/audio", 10)) + { + NASInfo.format = AuFormatULAW8; + DPRINTF("%s: NASInfo.format set to AuFormatULAW8\n", pathname); + } + + /* Only one snd device open at a time, to avoid trouble with + programs that open all available devices at startup. */ + if (sndfd == MAGIC_FD_NUM) { errno = EACCES; return -1; } + + if (mixerfd == -1) { + if (!nas_open(NASInfo.format, NASInfo.rate, NASInfo.channels)) + return -1; + } + + sndfd = MAGIC_FD_NUM; + DPRINTF("OPEN64 called, pathname = '%s': RETURNING sndfd %d\n", + pathname, sndfd); + + return (sndfd); + } + if (pathname && (!strncmp (pathname, "/dev/mixer", 10))) + { + /* Only one mixer device open at a time, to avoid trouble with + programs that open all available devices at startup. + Example: gmix */ + if (mixerfd == MIXER_FD_NUM) { errno = EACCES; return -1; } + + /* Hack so that if you open a standalone mixer app, you're likely + to modify the volume of the device you want. */ + if (sndfd == -1) { +#ifdef MIXER_HACK + nas_open(AuFormatLinearSigned16LSB, 44100, 2); +#else + nas_open(NASInfo.format, NASInfo.rate, NASInfo.channels); +#endif + } + + mixerfd = MIXER_FD_NUM; + DPRINTF("OPEN64 called, pathname = '%s': RETURNING mixerfd %d\n", + pathname, mixerfd); + return (mixerfd); + } + else + { + int rv = 0; + rv = (*func) (pathname, flags, mode); + return(rv); + } +} +#endif /* OPEN64_HACK */ + static int dspctl (int fd, request_t request, void *argp) { @@ -796,6 +878,9 @@ # define strong_alias(name, aliasname) \ extern __typeof (name) aliasname __attribute__ ((alias (#name))) strong_alias(open, __open); +#ifdef OPEN64_HACK +strong_alias(open64, __open64); +#endif /* OPEN64_HACK */ strong_alias(close, __close); strong_alias(write, __write); strong_alias(ioctl, __ioctl); --- audiooss-1.0.0.orig/audiooss.1x +++ audiooss-1.0.0/audiooss.1x @@ -0,0 +1,94 @@ +.\" This -*- nroff -*- file has been generated from +.\" DocBook SGML with docbook-to-man on Debian GNU/Linux. +...\" +...\" transcript compatibility for postscript use. +...\" +...\" synopsis: .P! +...\" +.de P! +\\&. +.fl \" force out current output buffer +\\!%PB +\\!/showpage{}def +...\" the following is from Ken Flowers -- it prevents dictionary overflows +\\!/tempdict 200 dict def tempdict begin +.fl \" prolog +.sy cat \\$1\" bring in postscript file +...\" the following line matches the tempdict above +\\!end % tempdict % +\\!PE +\\!. +.sp \\$2u \" move below the image +.. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "AUDIOOSS" "1x" +.SH "NAME" +audiooss \(em run OSS programs under NAS +.SH "SYNOPSIS" +.PP +\fBaudiooss\fP [\fIprogram\fP] [\fBoptions\fP] +.SH "DESCRIPTION" +.PP +\fBaudiooss\fP is a compatibility utility +that allows programs written for the popular Open Sound System +(OSS) interface to run using the Network Audio System (NAS) +instead. It works by preloading a library to intercept and +manipulate critical system calls such as +\fBopen()\fP, \fBread()\fP, and +\fBwrite()\fP. The emulation is not yet complete, +but it already works for many programs. +.SH "OPTIONS" +.PP +\fBaudiooss\fP itself has no options; +all specifed options are passed on to +\fIprogram\fP. +.SH "SEE ALSO" +.PP +nas(1), /usr/share/doc/audiooss/* +.SH "AUTHOR" +.PP +\fBaudiooss\fP is written by +Erik Inge Bols\(/o (knan at mo.himolde.no). +See /usr/share/doc/audiooss/copyright for copyright +information. +.PP +This manual page was written by Lex Spoon (lex@cc.gatech.edu) for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. +...\" created by instant / docbook-to-man, Sun 28 Oct 2001, 14:41 --- audiooss-1.0.0.orig/debian/dirs +++ audiooss-1.0.0/debian/dirs @@ -0,0 +1,3 @@ +usr/lib/audiooss +usr/bin + --- audiooss-1.0.0.orig/debian/audiooss.sgml,v +++ audiooss-1.0.0/debian/audiooss.sgml,v @@ -0,0 +1,273 @@ +head 1.3; +access; +symbols; +locks; strict; +comment @# @; + + +1.3 +date 2002.03.31.18.49.18; author lex; state Exp; +branches; +next 1.2; + +1.2 +date 2002.01.09.02.16.51; author lex; state Exp; +branches; +next 1.1; + +1.1 +date 2001.10.28.19.41.25; author lex; state Exp; +branches; +next ; + + +desc +@@ + + +1.3 +log +@removed the odd second copy of the page +@ +text +@Lex"> + Spoon"> + October 11, 2001"> + 1x"> + lex@@cc.gatech.edu"> + + AUDIOOSS"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + run OSS programs under NAS + + + + + audiooss + program + + + + + + + DESCRIPTION + + &dhpackage; is a compatibility utility + that allows programs written for the popular Open Sound System + (OSS) interface to run using the Network Audio System (NAS) + instead. It works by preloading a library to intercept and + manipulate critical system calls such as + open(), read(), and + write(). The emulation is not yet complete, + but it already works for many programs. + + + + OPTIONS + + &dhpackage; itself has no options; + all specifed options are passed on to + program. + + + SEE ALSO + + nas(1), /usr/share/doc/audiooss/* + + + + AUTHOR + + &dhpackage; is written by + Erik Inge Bolsø (knan at mo.himolde.no). + See /usr/share/doc/audiooss/copyright for copyright + information. + + This manual page was written by &dhusername; (&dhemail;) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts. + + +
+ + +@ + + +1.2 +log +@*** empty log message *** +@ +text +@a111 111 +Lex"> + Spoon"> + October 11, 2001"> + 1x"> + lex@@cc.gatech.edu"> + + AUDIOOSS"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + run OSS programs under NAS + + + + + audiooss + program + + + + + + + DESCRIPTION + + &dhpackage; is a compatibility utility + that allows programs written for the popular Open Sound System + (OSS) interface to run using the Network Audio System (NAS) + instead. It works by preloading a library to intercept and + manipulate critical system calls such as + open(), read(), and + write(). The emulation is not yet complete, + but it already works for many programs. + + + + OPTIONS + + &dhpackage; itself has no options; + all specifed options are passed on to + program. + + + SEE ALSO + + nas(1), /usr/share/doc/audiooss/* + + + + AUTHOR + + &dhpackage; is written by + Erik Inge Bolsø (knan at mo.himolde.no). + See /usr/share/doc/audiooss/copyright for copyright + information. + + This manual page was written by &dhusername; (&dhemail;) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts. + + +
+ + +@ + + +1.1 +log +@Initial revision +@ +text +@d112 111 +@ --- audiooss-1.0.0.orig/debian/README.Debian +++ audiooss-1.0.0/debian/README.Debian @@ -0,0 +1,8 @@ +audiooss for Debian +------------------- + +Changes from upstream version: + + - The audiooss helper script has been added. + + - The library is in /usr/lib/audiooss, not /usr/X11R6/lib/ . --- audiooss-1.0.0.orig/debian/rules +++ audiooss-1.0.0/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + + +configure: configure-stamp +configure-stamp: + dh_testdir + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + xmkmf + $(MAKE) + #docbook-to-man debian/audiooss.sgml > audiooss.1x + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + #rm -f audiooss.1x + rm -f *.o *.so* + rm -f Makefile + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + install -D libaudiooss.so $(CURDIR)/debian/audiooss/usr/lib/audiooss/libaudiooss.so + install -D audiooss $(CURDIR)/debian/audiooss/usr/bin/audiooss + + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman audiooss.1x + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- audiooss-1.0.0.orig/debian/README.Debian,v +++ audiooss-1.0.0/debian/README.Debian,v @@ -0,0 +1,31 @@ +head 1.1; +access; +symbols; +locks; strict; +comment @# @; + + +1.1 +date 2002.01.09.02.16.07; author lex; state Exp; +branches; +next ; + + +desc +@@ + + +1.1 +log +@Initial revision +@ +text +@audiooss for Debian +------------------- + +Changes from upstream version: + + - The audiooss helper script has been added. + + - The library is in /usr/lib/audiooss, not /usr/X11R6/lib/ . +@ --- audiooss-1.0.0.orig/debian/copyright +++ audiooss-1.0.0/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Lex Spoon on +Thu, 11 Oct 2001 01:02:49 -0400. + +It was downloaded from http://romeo.skybert.no/~erik/linux.html , +a mirror of http://www.mo.himolde.no/~knan/linux.html which seems +to be more available. + +Upstream Author: Erik Inge Bolsų + + +This software is Copyright 2000-2001, Erik Inge Bolsų + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- audiooss-1.0.0.orig/debian/changelog +++ audiooss-1.0.0/debian/changelog @@ -0,0 +1,98 @@ +audiooss (1.0.0-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * audiooss.c: Avoid conflicting with -D_FILE_OFFSET_BITS=64 (now used by + default by imake-generated makefiles). Closes: #349381. + * Replace build dependency on xlibs-dev with libx11-dev. Closes: #346676. + + -- Matej Vela Sat, 4 Feb 2006 08:20:29 +0100 + +audiooss (1.0.0-2) unstable; urgency=low + + * Scott Bigham's hack to deal with open64 + + -- Lex Spoon Fri, 1 Aug 2003 14:12:29 -0400 + +audiooss (1.0.0-1) unstable; urgency=low + + * New upstream release + + -- Lex Spoon Sun, 31 Mar 2002 13:38:19 -0500 + +audiooss (0.9.16-1) unstable; urgency=low + + * New upstream release + + -- Lex Spoon Sat, 12 Jan 2002 21:42:32 -0500 + +audiooss (0.9.15-1) unstable; urgency=low + + * New upstream release + + -- Lex Spoon Tue, 8 Jan 2002 20:53:24 -0500 + +audiooss (0.9.14-9) unstable; urgency=low + + * Remove Makefile in the clean rule. + + -- Lex Spoon Sun, 28 Oct 2001 18:16:34 -0500 + +audiooss (0.9.14-8) unstable; urgency=low + + * Changed email address. + * Cleaned up helper script. (closes: bug#117334) + + -- Lex Spoon Sun, 28 Oct 2001 01:19:21 -0500 + +audiooss (0.9.14-7) unstable; urgency=low + + * Remove emacs crud from changelog + * Make README.Debian friendlier for end-users + + -- Lex Spoon Tue, 16 Oct 2001 17:40:39 -0400 + +audiooss (0.9.14-6) unstable; urgency=low + + * Typo fixes in control file + + -- Lex Spoon Tue, 16 Oct 2001 14:11:10 -0400 + +audiooss (0.9.14-5) unstable; urgency=low + + * (closes: bug#115194) + + + -- Lex Spoon Fri, 12 Oct 2001 00:20:57 -0400 + +audiooss (0.9.14-4) unstable; urgency=low + + * updated description + * updated manpage a little + * switch to pre-generating the manpage, instead of doing it later, to avoid a bug in docbook-to-man + + -- Lex Spoon Thu, 11 Oct 2001 19:34:50 -0400 + +audiooss (0.9.14-3) unstable; urgency=low + + * More fixes suggested by Stephen: + * shared library moved to its own directory not /usr/lib + * redundent depends listings are removed + * made the manpage a little clearer + * cleaned up the copyright file some more + + -- Lex Spoon Thu, 11 Oct 2001 00:00:49 -0400 + +audiooss (0.9.14-2) unstable; urgency=low + + * Many improvements suggested by Stephen Stafford: + * Build-Depends is beefed up + * the control file and the debian directory are cleaned up + * GNU GPL is cited, not included in its entirity + + -- Lex Spoon Wed, 10 Oct 2001 09:56:36 -0400 + +audiooss (0.9.14-1) unstable; urgency=low + + * Initial Release. + + -- Lex Spoon Thu, 4 Oct 2001 23:26:58 -0400 --- audiooss-1.0.0.orig/debian/copyright,v +++ audiooss-1.0.0/debian/copyright,v @@ -0,0 +1,68 @@ +head 1.2; +access; +symbols; +locks; strict; +comment @# @; + + +1.2 +date 2002.01.13.02.52.20; author lex; state Exp; +branches; +next 1.1; + +1.1 +date 2002.01.13.02.50.35; author lex; state Exp; +branches; +next ; + + +desc +@@ + + +1.2 +log +@*** empty log message *** +@ +text +@This package was debianized by Lex Spoon on +Thu, 11 Oct 2001 01:02:49 -0400. + +It was downloaded from http://romeo.skybert.no/~erik/linux.html , +a mirror of http://www.mo.himolde.no/~knan/linux.html which seems +to be more available. + +Upstream Author: Erik Inge Bolsų + + +This software is Copyright 2000-2001, Erik Inge Bolsų + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +@ + + +1.1 +log +@Initial revision +@ +text +@d4 3 +a6 1 +It was downloaded from http://www.mo.himolde.no/~knan/linux.html +@ --- audiooss-1.0.0.orig/debian/control +++ audiooss-1.0.0/debian/control @@ -0,0 +1,17 @@ +Source: audiooss +Section: sound +Priority: optional +Maintainer: Lex Spoon +Build-Depends: debhelper (>> 3.0.0), nas-dev, libx11-dev, xutils +Standards-Version: 3.5.2 + +Package: audiooss +Architecture: any +Depends: ${shlibs:Depends} +Description: transparent OSS emulation over NAS + This is a compatibility utility that allows programs written + for the popular Open Sound System (OSS) interface to run using + the Network Audio System (NAS) instead. It works by preloading a + library to intercept and manipulate critical system calls such as + open(), read(), and write(). The emulation is not yet complete, + but it already works for many programs. --- audiooss-1.0.0.orig/debian/audiooss.sgml +++ audiooss-1.0.0/debian/audiooss.sgml @@ -0,0 +1,111 @@ +Lex"> + Spoon"> + October 11, 2001"> + 1x"> + lex@cc.gatech.edu"> + + AUDIOOSS"> + + + Debian GNU/Linux"> + GNU"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2001 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + run OSS programs under NAS + + + + + audiooss + program + + + + + + + DESCRIPTION + + &dhpackage; is a compatibility utility + that allows programs written for the popular Open Sound System + (OSS) interface to run using the Network Audio System (NAS) + instead. It works by preloading a library to intercept and + manipulate critical system calls such as + open(), read(), and + write(). The emulation is not yet complete, + but it already works for many programs. + + + + OPTIONS + + &dhpackage; itself has no options; + all specifed options are passed on to + program. + + + SEE ALSO + + nas(1), /usr/share/doc/audiooss/* + + + + AUTHOR + + &dhpackage; is written by + Erik Inge Bolsø (knan at mo.himolde.no). + See /usr/share/doc/audiooss/copyright for copyright + information. + + This manual page was written by &dhusername; (&dhemail;) for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the GNU Free Documentation + License, Version 1.1 or any later version published by the Free + Software Foundation; with no Invariant Sections, no Front-Cover + Texts and no Back-Cover Texts. + + +
+ + --- audiooss-1.0.0.orig/debian/docs +++ audiooss-1.0.0/debian/docs @@ -0,0 +1,3 @@ +FAQ +README +TODO --- audiooss-1.0.0.orig/audiooss +++ audiooss-1.0.0/audiooss @@ -0,0 +1,21 @@ +#!/bin/sh +# run a program under audioss. See audiooss(1) + + +if [ "$1" = "--help" ] +then + echo "Usage: $0 command [command_options]" + exit 0 +fi + +LIBDIR=/usr/lib/audiooss +LIBAUDIOOSS=$LIBDIR/libaudiooss.so + +if [ "x$LD_PRELOAD" = x ] +then NEW_LD_PRELOAD=$LIBAUDIOOSS +else NEW_LD_PRELOAD=$LIBAUDIOOSS:$LD_PRELOAD +fi + + +LD_PRELOAD=$NEW_LD_PRELOAD exec "$@" + --- audiooss-1.0.0.orig/test.1 +++ audiooss-1.0.0/test.1 @@ -0,0 +1,94 @@ +.\" This -*- nroff -*- file has been generated from +.\" DocBook SGML with docbook-to-man on Debian GNU/Linux. +...\" +...\" transcript compatibility for postscript use. +...\" +...\" synopsis: .P! +...\" +.de P! +\\&. +.fl \" force out current output buffer +\\!%PB +\\!/showpage{}def +...\" the following is from Ken Flowers -- it prevents dictionary overflows +\\!/tempdict 200 dict def tempdict begin +.fl \" prolog +.sy cat \\$1\" bring in postscript file +...\" the following line matches the tempdict above +\\!end % tempdict % +\\!PE +\\!. +.sp \\$2u \" move below the image +.. +.de pF +.ie \\*(f1 .ds f1 \\n(.f +.el .ie \\*(f2 .ds f2 \\n(.f +.el .ie \\*(f3 .ds f3 \\n(.f +.el .ie \\*(f4 .ds f4 \\n(.f +.el .tm ? font overflow +.ft \\$1 +.. +.de fP +.ie !\\*(f4 \{\ +. ft \\*(f4 +. ds f4\" +' br \} +.el .ie !\\*(f3 \{\ +. ft \\*(f3 +. ds f3\" +' br \} +.el .ie !\\*(f2 \{\ +. ft \\*(f2 +. ds f2\" +' br \} +.el .ie !\\*(f1 \{\ +. ft \\*(f1 +. ds f1\" +' br \} +.el .tm ? font underflow +.. +.ds f1\" +.ds f2\" +.ds f3\" +.ds f4\" +'\" t +.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n +.TH "AUDIOOSS" "1x" +.SH "NAME" +audiooss \(em run OSS programs under NAS +.SH "SYNOPSIS" +.PP +\fBaudiooss\fP [\fIprogram\fP] [\fBoptions\fP] +.SH "DESCRIPTION" +.PP +\fBaudiooss\fP is a compatibility utility +that allows programs written for the popular Open Sound System +(OSS) interface to run using the Network Audio System (NAS) +instead. It works by preloading a library to intercept and +manipulate critical system calls such as +\fBopen()\fP, \fBread()\fP, and +\fBwrite()\fP. The emulation is not yet complete, +but it already works for many programs. +.SH "OPTIONS" +.PP +\fBaudiooss\fP itself has no options; +all specifed options are passed on to +\fIprogram\fP. +.SH "SEE ALSO" +.PP +nas(1), /usr/share/doc/audiooss/* +.SH "AUTHOR" +.PP +\fBaudiooss\fP is written by +Erik Inge Bols\(/o (knan at mo.himolde.no). +See /usr/share/doc/audiooss/copyright for copyright +information. +.PP +This manual page was written by Lex Spoon (lex@cc.gatech.edu) for +the \fBDebian GNU/Linux\fP system (but may be used by others). Permission is +granted to copy, distribute and/or modify this document under +the terms of the GNU Free Documentation +License, Version 1.1 or any later version published by the Free +Software Foundation; with no Invariant Sections, no Front-Cover +Texts and no Back-Cover Texts. +...\" created by instant / docbook-to-man, Sun 31 Mar 2002, 13:47