[Bug 498889] Re: Audio passed to pa_simple_write not played immediately
I switched the status to invalid, since this isn't really a pulseaudio bug. The fix will likely be incorporated into speech-dispatcher. ** Changed in: pulseaudio (Ubuntu) Status: New = Invalid -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 498889] Re: Audio passed to pa_simple_write not played immediately
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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 498889] Re: Audio passed to pa_simple_write not played immediately
** Attachment added: Simple test case demonstraiting the bug http://launchpadlibrarian.net/37001410/keyspeak.tar.gz ** Attachment added: AlsaDevices.txt http://launchpadlibrarian.net/37001411/AlsaDevices.txt ** Attachment added: AplayDevices.txt http://launchpadlibrarian.net/37001412/AplayDevices.txt ** Attachment added: BootDmesg.txt http://launchpadlibrarian.net/37001413/BootDmesg.txt ** Attachment added: Card0.Amixer.values.txt http://launchpadlibrarian.net/37001414/Card0.Amixer.values.txt ** Attachment added: Card0.Codecs.codec.0.txt http://launchpadlibrarian.net/37001416/Card0.Codecs.codec.0.txt ** Attachment added: Card1.Codecs.codec.0.txt http://launchpadlibrarian.net/37001417/Card1.Codecs.codec.0.txt ** Attachment added: CurrentDmesg.txt http://launchpadlibrarian.net/37001422/CurrentDmesg.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/37001423/Dependencies.txt ** Attachment added: PciMultimedia.txt http://launchpadlibrarian.net/37001424/PciMultimedia.txt -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs