[pulseaudio-discuss] Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device

h.patil at accenture.com h.patil at accenture.com
Thu May 12 07:17:00 PDT 2011


Hello Becker,
Thanks for the reply.

I am getting the following error if I remove --system

~ # pulseaudio -n -F /etc/pulse/default.pa
W: main.c: Couldn't canonicalize binary path, cannot self execute.
W: main.c: This program is not intended to be run as root (unless --system is specified).
W: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.

Are you sure you are running Pulseaudio optimized for an ARM target?

For ARM:

I have cross compiled PulseAudio for arm. Is there any specific optimization needs to be done for PulseAudio for ARM?

Is there any configuration needs to be done for PulseAudio for ARM?

We are able to run pulseaudio and establish service connection for A2DP (BlueZ). Once the mobile phone starts streaming the audio, pulse audio encounters following error

module-bluetooth-device.c: Received error condition: Input/output error


For X86:

We are able to Run the PulseAudio on Ubuntu (X86). Connect A2DP (BlueZ). Streaming of Audio from Mobile works fine.

Regards,

patil

________________________________
From: pulseaudio-discuss-bounces at mail.0pointer.de [mailto:pulseaudio-discuss-bounces at mail.0pointer.de] On Behalf Of Becker, VincentX
Sent: Thursday, May 12, 2011 5:48 PM
To: General PulseAudio Discussion
Subject: Re: [pulseaudio-discuss] Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device

From: pulseaudio-discuss-bounces at mail.0pointer.de [mailto:pulseaudio-discuss-bounces at mail.0pointer.de] On Behalf Of h.patil at accenture.com
Sent: Thursday, May 12, 2011 8:41 AM
To: pulseaudio-discuss at mail.0pointer.de
Subject: [pulseaudio-discuss] Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device

Hi All,
           I am using pulse audio 0.9.21(Tried 0.9.22 also)  on arm with bluez-4.89(Tried 4.93 also) but getting the following error.
           I am running pulseaudio in system mode as i am having only root user on my target.


~ # pulseaudio --system -n -F /etc/pulse/default.pa
W: main.c: Couldn't canonicalize binary path, cannot self execute.
W: main.c: Running in system mode, but --disallow-exit not set!
W: main.c: Running in system mode, but --disallow-module-loading not set!
N: main.c: Running in system mode, forcibly disabling SHM mode!
N: main.c: Running in system mode, forcibly disabling exit idle time!
W: main.c: Home directory of user 'root' is not '/home/mmes/op/var/run/pulse', ignoring.
W: main.c: OK, so you are running PA in system mode. Please note that you most likely shouldn't be doing that.
W: main.c: If you do it nonetheless then it's your own fault if things don't work as expected.
W: main.c: Please read http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode for an explanation why system mode is usually a bad idea.
E: module-bluetooth-device.c: Assertion '(size_t) decoded == a2dp->frame_length' failed at modules/bluetooth/module-bluetooth-device.c:1375, function a2dp_process_push(). Aborting.
Aborted
~ #


Please let me know whether it works on on system mode or its bug in pulse audio for arm.

You should launch pulseaudio simply under user mode or root without the -system option.
Pulseaudio runs on x86 and Arm. For A2DP, you are using an sbc  interface which is very dependant on the target as assembly instructions are used.

Are you sure you are running Pulseaudio optimized for an ARM target ?


Thanks

Patil


________________________________
This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20110512/37ea4fdc/attachment.htm>


More information about the pulseaudio-discuss mailing list