Bug#446519: saytime: patch for alsa support

2007-10-21 Thread Rob Browning
Rob Browning [EMAIL PROTECTED] writes: I've nearly finished a patch here that should address these issues. OK, here's the new patch. As I mentioned, it does add a couple of additional dependencies -- it uses popen/pclose, and it defines _GNU_SOURCE so it can use GNU getline. I don't know

Bug#446519: saytime: patch for alsa support

2007-10-19 Thread Rob Browning
Rob Browning [EMAIL PROTECTED] writes: 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

Bug#446519: saytime: patch for alsa support

2007-10-17 Thread Oohara Yuuma
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

Bug#446519: saytime: patch for alsa support

2007-10-17 Thread Rob Browning
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.

Bug#446519: saytime: patch for alsa support

2007-10-15 Thread Rob Browning
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

Bug#446519: saytime: patch for alsa support

2007-10-14 Thread Oohara Yuuma
On Tue, 09 Oct 2007 18:31:29 -0700, Rob Browning [EMAIL PROTECTED] wrote: I was having some trouble here with the alsa oss support (saytime was skipping/echoing), so I wrote up this *very* quick hack to add support for sox's alsa backend. This patch just adds a -b BACKEND option, i.e. -b oss,

Bug#446519: saytime: patch for alsa support

2007-10-13 Thread Rob Browning
Package: saytime Version: 1.0-20 Severity: wishlist I was having some trouble here with the alsa oss support (saytime was skipping/echoing), so I wrote up this *very* quick hack to add support for sox's alsa backend. This patch just adds a -b BACKEND option, i.e. -b oss, -b alsa, etc. If