Re: [orca-list] [ANNOUNCE] libao (new audio driver for speechd including working pulseaudio support).

Attila, I suspect you didn't modify src/audio/ to link to
pulse-simple.  I posted the steps to install the pulse.c driver to the
Vinux list instead of here, hoping to reduce the non-Orca specific
traffic on this list.  But, this thread seems to have unstoppable
momentum... sorry Willie!

Here's my steps for installing the pulse driver in speech-dispatcher
on Ubuntu Lucid alpha.  I've also tried it on Ubuntu Karmic, and while
the package names are slightly different, the process seems to work.
I've attached pulse.c again, just to keep this all in one e-mail:

$ sudo apt-get build-dep speech-dispatcher
$ mkdir speech-dispatcher
$ cd speech-dispatcher
$ apt-get source speech-dispatcher
$ cd speech-dispatcher-0.6.7+git20090914~unofficial
$ cp ~/Download/pulse.c src/audio

Then, edit src/audio/, and change the line that says:

  PULSE_LIBS = -lpulse


  PULSE_LIBS = -lpulse-simple

Then, continue with:

$ dpkg-buildpackage
$ cd ..
$ sudo dpkg -i speech-dispatcher_0.6.7+git20090914~unofficial-0ubuntu4_i386.deb
$ sudo dpkg -i libspeechd2_0.6.7+git20090914~unofficial-0ubuntu4_i386.deb
$ python-speechd_0.6.7+git20090914~unofficial-0ubuntu4_all.deb

Then, edit ~/.speech-dispatcher/conf/speechd.conf.  Change the line
that starts with AudioOutputMethod to:

   AudioOutputMethod "pulse"

Then, reboot.  In theory you should have very nice performance with
Orca when using pulseaudio and espeak, even with the speech rate set
to 100%.  It works well for me.


On Tue, Dec 22, 2009 at 2:52 AM, Hammer Attila <hammera pickup hu> wrote:
Dear List,

How can I apply the new driver (Bill Cox modifyed driver)?
I would like testing this driver.
Original prewious tested libao driver not producing compiling error my
machine, but if I owerwrite src/audio/pulse.c file, speech-dispatcher
does'nt compiling.
If I try apply the libao.diff file (sent another letter with attachment),
the patching is not happened.

Another question:
If I succesfuly compiling the new driver with anybody instruction, what need
choosing with spd-conf utility? Pulse, or libao?

I am using Ubuntu Lucid.

Orca-list mailing list
Orca-list gnome org
Visit for more information on Orca.
The manual is at
The FAQ is at
Netiquette Guidelines are at
Log bugs and feature requests at

Attachment: pulse.c
Description: Text Data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]