On Mon, 15 Oct 2007 19:19:50 -0700, Rob Browning <[EMAIL PROTECTED]> wrote: > Oohara Yuuma <[EMAIL PROTECTED]> writes: > > 1) It seems that /usr/bin/aplay is in the package alsa-utils. I > > don't use it because I don't have an ALSA system. Is aplay better > > that sox on an ALSA system? > I don't actually know, but I'm also not sure everyone uses ALSA, even > today. I suppose one advantage to sox is that it supports a number of > backends: OSS, ALSA, etc. Your patch uses both aplay and sox: * add a new option -b to saytime * saytime -b alsa calls aplay (requires alsa-utils) * saytime -b oss calls sox -t ossdsp (requires sox and libsox-fmt-oss) It is not very good in view of package dependency; I have difficulty saying alsa-utils || (sox && libsox-fmt-oss) in debian/control. I want to let sox do everything if it can. How about this: * add a new option -b to saytime * saytime -b alsa calls sox -t alsa (requires sox and libsox-fmt-alsa) * saytime -b oss calls sox -t ossdsp (requires sox and libsox-fmt-oss) * saytime depends: sox, libsox-fmt-oss | libsox-fmt-alsa
-- Oohara Yuuma <[EMAIL PROTECTED]> We are now being exorcised. --- Satoko Kiyuduki "Kuro the Coffin Bearer" -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]