From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f170.google.com (mail-iy0-f170.google.com [209.85.210.170]) by speech.braille.uwo.ca (Postfix) with ESMTP id 928E9C1A1A3 for ; Mon, 28 Feb 2011 00:57:08 -0500 (EST) Received: by iyb12 with SMTP id 12so2818671iyb.29 for ; Sun, 27 Feb 2011 21:57:08 -0800 (PST) Received: by 10.42.224.136 with SMTP id io8mr4539634icb.29.1298872628000; Sun, 27 Feb 2011 21:57:08 -0800 (PST) Received: from lnx3 (ip72-208-185-148.ph.ph.cox.net [72.208.185.148]) by mx.google.com with ESMTPS id k38sm790682ick.9.2011.02.27.21.57.06 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 27 Feb 2011 21:57:06 -0800 (PST) Date: Sun, 27 Feb 2011 22:57:02 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: espeakup and pulseaudio Message-ID: <20110228055702.GA14852@lnx3> Mail-Followup-To: speakup@braille.uwo.ca References: <20110227182715.GA3575@nextdog> <20110227201133.GA21633@really.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110227201133.GA21633@really.lan> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.1.13 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: Mon, 28 Feb 2011 05:57:08 -0000 The only reason I am even bothering to keep pulseaudio around is the ability to control streams' volume independently of each other and I seem to be getting more sound events to play now since I started using pulse in gnome. But I can't stand the fact that when I try to get speech dispatcher to autosspawn properly when I startx, well that's another matter and a very bad one at that. I had much better luck running speech dispatcher as a system-wide service with ALSA and then just have Orca start up automatically when I startx gnome. That combination just seems to work better for me. So, I'm about to change speechd back to do just that. I don't like the volume jumping all over the place every time I restart gnome. On Sun, Feb 27, 2011 at 12:11:33PM -0800, David Csercsics wrote: > On Sun, Feb 27, 2011 at 01:27:16PM -0500, Christopher Moore wrote: > > Hello, > > I'm running archand have the pulseaudio server running. > > When I start espeakup with the rc.d script, the following message repeats > > each time data is to be spoken: > > wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device) > > > > So what is the invalid device? > > Probably portaudio trying to open your sound card using alsa but > pulseaudio has already grabbed the card and locked it open so you're > getting that error. I don't know how you'd get espeakup to work with > pulseaudio anyway since pulseaudio is typically started as a non-root user > and espeakup typically needs to be run as root so you can have speech > when you login for the first time. Espeakup would work with pulseaudio > if you built espeak against pulseaudio instead of portaudio but then > as I say I don't know how you're going to get speech in text consoles > since espeakup is started as root and the pulseaudio process is not. Yes > you can run pulseaudio in systemwide mode but if you do that the program > usually disables shared memory and so doesn't run very efficiently. Unless > they've changed some of this logic. It's been a long time since I messed > with pulseaudio so I'm possibly wrong about some or all of this but if > somebody wants to correct me then have at it. I'm not even sure how > pulseaudio helps anything over the standard dmix plugins. It's looking > like unnecessary complexity at this point but I'd be happy to try to > help get this working if somebody can give me a reason why I should > bother breaking a very nice sound setup. > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup