[u-a-dev] [Bug 84220] Re: No speech in totem using eSpeak w/ Orca
Gilles Casse
gcasse at oralux.org
Fri Feb 23 00:38:07 GMT 2007
Hi Mikael,
Thanks for your post.
On jeu, 2007-02-22 at 22:39 +0100, Mikael Holmgren wrote:
> One problem seems to be that portaudio doesn't use the alsa "default"
> device, but use the first working one it comes across.
A recent wave.cpp selects the Alsa device with the highest number of
output channels instead of the first Alsa device. At least, sound mixing
works (more or less) on a SB128.
A post has been sent to the PortAudio list.
> As i understand it, the default device must be used for the alsa
> softwaremixing to be done.
> If playing some music and telling espeak to say something:
> - In the stable v19 that doesn't work, pcm_open_fail.
> In the dev version there is a patch for that, but you still get a very
> long delay, since portaudio seems to try devices until it comes to the
> default device and then espeak speaks.
Yes, Pa_Initialize enumerates the audio device. This enumeration could
be done once and then cached for further calls. An env variable, or a
conf file could indicate to PortAudio which is the short list of
interesting devices.
These features could be perhaps welcomed by the PortAudio team.
Best regards,
Gilles
--
Oralux http://oralux.org
More information about the Ubuntu-accessibility-devel
mailing list