Public bug reported:

Binary package hint: pulseaudio

If a small sound sample (less than 4000 samples) is passed to
pa_simple_write, it is not played immediately, contrary to the
documentation for this function.  This bug causes problems with Orca
when using espeak at high speed.  When users press a key, and key echo
is enabled, there is no sound played until he presses another key, at
which point both keys are played.  This will be a significant problem
issue for blind users of Orca.

To help track this bug down, I've created a tiny test case that shows it
very well.  Just type 'make' in the keyspeak directory, and run it by
typing './keyspeak'.  Just press enter a few times.  Each time you press
enter, pa_simple_write is passed a small sound to play, but instead of
playing it right away, no sound is played until you press enter again,
at which point the sound is played twice.  In gdb, I watched it go
through the loop and not play the sound twice in a row, but then on the
next call to getchar(), both sounds were played.

ProblemType: Bug
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  bill       6390 F.... pulseaudio
 /dev/snd/pcmC0D0p:   bill       6390 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf1000000 irq 22'
   Mixer name   : 'IDT 92HD73C1X5'
   Components   : 'HDA:111d7675,102802bd,00100103'
   Controls      : 26
   Simple ctrls  : 17
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xcfeec000 irq 17'
   Mixer name   : 'ATI R6xx HDMI'
   Components   : 'HDA:1002aa01,00aa0100,00100100'
   Controls      : 4
   Simple ctrls  : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined
   Playback channels: Mono
   Mono: Playback [off]
Date: Sun Dec 20 17:20:01 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: fglrx
Package: libpulse0 1:0.9.19-0ubuntu4
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-17-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:13800): GLib-CRITICAL **: g_propagate_error: assertion 
`src != NULL' failed
 (/usr/lib/drapes/drapes.exe:13917): GLib-WARNING **: g_set_prgname() called 
multiple times
 (nautilus:13908): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 
`preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:13944): GLib-CRITICAL **: 
g_once_init_leave: assertion `initialization_value != 0' failed
 (firefox:14304): GLib-WARNING **: g_set_prgname() called multiple times

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug

-- 
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

Reply via email to