Oohara Yuuma <[EMAIL PROTECTED]> writes:

> Your patch uses both aplay and sox:

Hmm.  Actually, I forgot that I used aplay in that patch.  I think I
was also using sox's alsa support at one point ("-t alsa default"),
but obviously that's not the patch I sent you.

I'll send you one that just uses sox.

> * saytime -b oss calls sox -t ossdsp (requires sox and libsox-fmt-oss)
> * saytime depends:
>   sox, libsox-fmt-oss | libsox-fmt-alsa

Hmm if you make it an "|" dependency, then it seems like you would
have to have a reliable and quick way of detecting which backend to
use whenever the -b option is not specified (i.e. detect which sox
backends are installed).  For now, I'd be tempted to just require both
backends (which would add 60k to the install).

Even then, it'd still be nice to automatically pick the default
backend based on whether or not the system is using oss or alsa, but
offhand, I don't know if there's a reliable indicator...

Thanks
-- 
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to