From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-out4.iol.cz ([194.228.2.92]) by speech.braille.uwo.ca with esmtp (Exim 3.36 #1 (Debian)) id 1F4zPL-0005ib-00 for ; Fri, 03 Feb 2006 06:47:19 -0500 Received: from antivir4.iol.cz (avir4 [192.168.30.209]) by smtp-out4.iol.cz (Postfix) with ESMTP id 57BDE1F8ADB for ; Fri, 3 Feb 2006 12:46:46 +0100 (CET) Received: from localhost (antivir4.iol.cz [127.0.0.1]) by antivir4.iol.cz (Postfix) with ESMTP id 376CD240021 for ; Fri, 3 Feb 2006 12:46:46 +0100 (CET) Received: from smtp-out4.iol.cz (unknown [192.168.30.31]) by antivir4.iol.cz (Postfix) with ESMTP id 2308124001E for ; Fri, 3 Feb 2006 12:46:46 +0100 (CET) Received: from [192.168.1.36] (unknown [80.188.214.108]) by smtp-out4.iol.cz (Postfix) with ESMTP id D081C22AEDD for ; Fri, 3 Feb 2006 12:46:45 +0100 (CET) Subject: Re: Speech-dispatcher taking up my sound card From: Hynek Hanke To: "Speakup is a screen review system for Linux." In-Reply-To: References: Content-Type: text/plain; charset=iso-8859-2 Date: Fri, 03 Feb 2006 12:51:34 +0100 Message-Id: <1138967495.15427.138.camel@chopin> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 X-Virus-Scanned: amavisd-new at iol.cz Content-Transfer-Encoding: quoted-printable X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.6 Precedence: list Reply-To: "Speakup is a screen review system for Linux." List-Id: "Speakup is a screen review system for Linux." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2006 11:47:19 -0000 mikster4@msn.com p=ED=B9e v P=E1 03. 02. 2006 v 00:44 +0000: > I am using speech-dispatcher 0.6 for software output, with festival usi= ng=20 > ALSA. When ever I try and use any software that is using OSS for sound,= it=20 > always complains that the sound card is busy.=20 This is a permissions bug in ALSA, it was reported and it has been fixed since then. Basically only the first user to connect to dmix could mix sound (if you are running speech-dispatcher, this will likely be the user speech-dispatcher or root) and the other users got refused by dmix. You need to upgrade your libasound, I think. > If I set speech-dispatcher to=20 > use OSS it stops anything else from using the sound card. This is so ev= en=20 > when no speech is being produced (e.g. when I have silenced speakup). I= =20 > don't remember this was so in speech-dispatcher 0.5, is there a setting= I=20 > have not noticed in 0.6, or will my answer be to go back to 0.5? This should not happen. The device is normally openned just before playing a sound and closed just after the playing finished in OSS mode. I just tested it. I guess ALSA is still mixing in and giving you problems somehow. Cannot it be that you are also loading flite output module and flite loads ALSA and you run into that ALSA dmix permissions problem described above? Try to disable all other modules than festival in speechd.conf (option AddModule). (But this is just for curiosity, I recommend fixing ALSA and using ALSA if possible.) Have a nice day, Hynek