I can't confirm about espeak, or about skype as in bug #361615, but i affected by this bug in my own apps using Portaudio lib. The same error flood and 20 secs delay arrives even with this simplest test program: [code] #include <stdio.h> #include <stdlib.h> #include <portaudio.h> PaStream *stream;
int main(void) { Pa_Initialize(); Pa_OpenDefaultStream(&stream, 2, 0, paFloat32, 192000, paFramesPerBufferUnspecified, NULL, NULL); puts("Finally I started.\n"); return EXIT_SUCCESS; } [/code] and it is noticeable it still not fixed since 2009. On other machine i do not have bluetooth, and error flood is same, but no start delay. After delay, applications works correctly. Thanks. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to bluez in Ubuntu. https://bugs.launchpad.net/bugs/1025578 Title: espeak sound output very slow if bluez-alsa installed Status in bluez package in Ubuntu: Confirmed Bug description: Running espeak if bluetooth is enabled via the panel applet and bluez- alsa is installed slows down espeak sound output *significantly*... With bluetooth disabled... $ time echo hello|espeak ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started real 0m0.823s user 0m0.032s sys 0m0.064s $ With bluetooth enabled... $ time echo hello|espeak ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5) ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started real 0m21.329s user 0m0.048s sys 0m0.044s $ "A" way (not ideal! ;-) to resolve the problem is to simply remove the bluez-alsa package: $ sudo apt-get remove blue-alsa Notes: - I have no bluetooth audio devices within range or enabled. - I have no ~/.asoundrc so unclear why I'm getting all the alsa cruft. Attached is the output of 'sudo hcidump -XYt'. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: bluez-alsa 4.98-2ubuntu7 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic-pae 3.2.19 Uname: Linux 3.2.0-26-generic-pae i686 ApportVersion: 2.0.1-0ubuntu8 Architecture: i386 Date: Tue Jul 17 10:06:48 2012 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) InterestingModules: bnep rfcomm btusb bluetooth MachineType: LENOVO 2516CTO ProcEnviron: TERM=xterm PATH=(custom, user) LANG=fr_CA.UTF8 SHELL=/bin/bash ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=7ad192e9-7b26-49d1-8e1c-fefc7dc495cb ro quiet splash vt.handoff=7 SourcePackage: bluez UpgradeStatus: Upgraded to precise on 2012-01-12 (186 days ago) dmi.bios.date: 08/27/2010 dmi.bios.vendor: LENOVO dmi.bios.version: 6IET72WW (1.32 ) dmi.board.name: 2516CTO dmi.board.vendor: LENOVO dmi.board.version: Not Available dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: Not Available dmi.modalias: dmi:bvnLENOVO:bvr6IET72WW(1.32):bd08/27/2010:svnLENOVO:pn2516CTO:pvrThinkPadT410:rvnLENOVO:rn2516CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: dmi.product.name: 2516CTO dmi.product.version: ThinkPad T410 dmi.sys.vendor: LENOVO hciconfig: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1025578/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp