Dear Mehdi, On Mon, Oct 25, 2010 at 09:58:22AM -0500, Kumar Appaiah wrote: > On Mon, Oct 25, 2010 at 04:12:38PM +0200, Mehdi Dogguy wrote: > > If you're going to use aplay by default, shouldn't you depend on > > alsa-utils (or at least Recommends it?). > > Hmm... I believed that I had; obviously, I've missed it, since I > mistook the alsa-oss wrapper to be sufficient; obviously, it isn't, > since aplay is needed. Could you please consider the new patch attached? Thanks! Kumar
From 47b0d0af3af71b72a52116d357509139129545da Mon Sep 17 00:00:00 2001
From: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
Date: Mon, 25 Oct 2010 08:55:27 -0500
Subject: [PATCH] Make ALSA backend default
---
debian/changelog | 9 +++++++++
debian/control | 3 ++-
debian/festival.scm | 4 ++++
3 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 69ba611..709c7b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+festival (1:2.0.95~beta-3) unstable; urgency=low
+
+ * Add patch from Samuel Thibault to make ALSA backend default.
+ (Closes: #592442)
+ * Standards Version is now 3.9.1 (no changes needed)
+ * Depend on alsa-utils for default ALSA use.
+
+ -- Kumar Appaiah <akumar@debian.org> Mon, 25 Oct 2010 21:38:04 -0500
+
festival (1:2.0.95~beta-2) unstable; urgency=low
* Don't depend on alsa-oss on kfreebsd-*, since it is unavailable
diff --git a/debian/control b/debian/control
index 408a8bc..91a63da 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 7.0.5~),
libncurses5-dev,
quilt (>= 0.40),
texinfo
-Standards-Version: 3.9.0
+Standards-Version: 3.9.1
Homepage: http://www.cstr.ed.ac.uk/projects/festival/
Vcs-Git: git://git.debian.org/git/collab-maint/festival.git
Vcs-Browser: http://git.debian.org/?p=collab-maint/festival.git
@@ -21,6 +21,7 @@ Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
adduser (>= 3.105),
alsa-oss [!kfreebsd-i386 !kfreebsd-amd64],
+ alsa-utils,
lsb-base (>= 3.0-10),
oss-compat,
sysv-rc (>= 2.86.ds1) | file-rc
diff --git a/debian/festival.scm b/debian/festival.scm
index 8a6bde4..be5caf7 100644
--- a/debian/festival.scm
+++ b/debian/festival.scm
@@ -28,3 +28,7 @@
(set! server_access_list '("[^.]+" "127.0.0.1" "localhost"))
; Server deny list (hosts)
+
+; Make ALSA the default backend
+(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
+(Parameter.set 'Audio_Method 'Audio_Command)
--
1.7.1
Attachment:
signature.asc
Description: Digital signature