Subject: Re: sox OSS output (play support)
To: Thomas Klausner <wiz@NetBSD.org>
From: Steve O'Hara-Smith <steve@sohara.org>
List: pkgsrc-users
Date: 08/05/2007 14:28:35
This is a multi-part message in MIME format.
--Multipart=_Sun__5_Aug_2007_14_28_35_+0100_.RgAEnMiTx=hQWMR
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
On Sun, 5 Aug 2007 00:03:37 +0200
Thomas Klausner <wiz@NetBSD.org> wrote:
> On Sat, Aug 04, 2007 at 09:46:58PM +0100, Steve O'Hara-Smith wrote:
> > I noticed that the OSS output option for sox was suppressed in
> > patch-aa and was wondering why.
>
> Because on NetBSD, the sun audio output is preferred, but oss output
> is preferred by the configure script.
>
> > I re-enabled it as an experiment and found
> > that it works fine on my DragonFlyBSD boxes. It would be nice to have it
> > enabled wherever it works - would a patch to turn it into a pkg_option
> > be a good idea ?
>
> That'd be fine, of course. Please send patches :)
Patches are a bit messy (patches of patches) - attached is a new
Makefile and a new patch-aa. The new patch-aa makes configure respect a
--without-oss argument and the new Makefile adds an oss option which when
*not* set adds --without-oss to CONFIGURE_ARGS.
--
C:>WIN | Directable Mirror Arrays
The computer obeys and wins. | A better way to focus the sun
You lose and Bill collects. | licences available see
| http://www.sohara.org/
--Multipart=_Sun__5_Aug_2007_14_28_35_+0100_.RgAEnMiTx=hQWMR
Content-Type: application/octet-stream;
name="Makefile"
Content-Disposition: attachment;
filename="Makefile"
Content-Transfer-Encoding: base64
IyAkTmV0QlNEOiBNYWtlZmlsZSx2IDEuNDMgMjAwNy8wNi8wNCAwNTo0NDowOSB3aXogRXhwICQK
CkRJU1ROQU1FPQlzb3gtMTMuMC4wClBLR1JFVklTSU9OPQkxCkNBVEVHT1JJRVM9CWF1ZGlvCk1B
U1RFUl9TSVRFUz0JJHtNQVNURVJfU0lURV9TT1VSQ0VGT1JHRTo9c294L30KCk1BSU5UQUlORVI9
CXBrZ3NyYy11c2Vyc0BOZXRCU0Qub3JnCkhPTUVQQUdF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X09QVElPTlM6TWxhbWUpCiMgVGhpcyBpcyBhbiBvcHRp
b24gZHVlIHRvIExJQ0VOU0U9IGlzc3Vlcy4KLmluY2x1ZGUgIi4uLy4uL2F1ZGlvL2xhbWUvYnVp
bGRsaW5rMy5tayIKLmVuZGlmCi5pZiBlbXB0eShQS0dfT1BUSU9OUzpNb3NzKQpDT05GSUdVUkVf
QVJHUys9CS0td2l0aG91dC1vc3MKLmVuZGlmCi5pbmNsdWRlICIuLi8uLi9hdWRpby9saWJtYWQv
YnVpbGRsaW5rMy5tayIKLmluY2x1ZGUgIi4uLy4uL2F1ZGlvL2xpYnNuZGZpbGUvYnVpbGRsaW5r
My5tayIKLmluY2x1ZGUgIi4uLy4uL2F1ZGlvL2xpYnNhbXBsZXJhdGUvYnVpbGRsaW5rMy5tayIK
LmluY2x1ZGUgIi4uLy4uL2F1ZGlvL2xpYnZvcmJpcy9idWlsZGxpbmszLm1rIgouaW5jbHVkZSAi
Li4vLi4vbWsvYnNkLnBrZy5tayIK
--Multipart=_Sun__5_Aug_2007_14_28_35_+0100_.RgAEnMiTx=hQWMR
Content-Type: application/octet-stream;
name="patch-aa"
Content-Disposition: attachment;
filename="patch-aa"
Content-Transfer-Encoding: base64
JE5ldEJTRCQKCi0tLSBjb25maWd1cmUub3JpZwkyMDA3LTAyLTExIDE5OjQ4OjM2LjAwMDAwMDAw
MCArMDAwMAorKysgY29uZmlndXJlCkBAIC0yMDY3MSw2ICsyMDY3MSw4IEBAIF9BQ0VPRgogCiBm
aQogCitpZiB0ZXN0ICIkd2l0aF9vc3MiICE9IG5vOyB0aGVuCisKIHdpdGhfb3NzPW5vCiAKIGZv
ciBhY19oZWFkZXIgaW4gc3lzL3NvdW5kY2FyZC5oCkBAIC0yMDk3Miw2ICsyMDk3NCw4IEBAIGZp
CiAKIGRvbmUKIAorZmkKKwogaWYgdGVzdCAiJHdpdGhfb3NzIiA9IHllczsgdGhlbgogCiBjYXQg
Pj5jb25mZGVmcy5oIDw8XF9BQ0VPRgo=
--Multipart=_Sun__5_Aug_2007_14_28_35_+0100_.RgAEnMiTx=hQWMR--