I tracked down the problem here. The pa_simple interface to pulseaudio does provide a buffer-attribute control. If 'prebuf' is set to a single sample, then key echos are played as soon as a key is typed. However, speech-dispatcher is defaulting to libao, and the libao pulseaudio driver sets prebuf to it's default value.
There are two possible fixes I see. First, we could patch libao's pulseaudio driver to set prebuf to a single sample. That would cause all applications using libao to start playing audio as soon as the first sample is sent. Why this isn't already the default behavior, I don't know, but there may be a valid reason. The other possible solution is to rewrite the speech-dispatcher pulse module to directly call the pa_simple interface. -- Audio passed to pa_simple_write not played immediately https://bugs.launchpad.net/bugs/498889 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
