Re: [Bluez-devel] RE : Big patch to a2dpd

Frédéric DALLEAU
2006-09-06T08:52:43Z

Hi Brad,

> Have you looked into using dbus for communicating with the running
> a2dpd? I think I read that ALP is going to use dbus for things like this.
> =

We still need data persistency, so It would need to
1) listen dbus
2) rewrite the file

> enablereversestereo=3D1 fixes audio so it comes out of both speakers. I've
> made this the default in sample.a2dprc.
> =

It seems that the reverse code is a bit buggy :D which explains why you =

have no sound.
Look at this in a2dpd.c
} else {
//FIXME We have a reverse stereo I don't know why
// The following line corrects the problem but I miss the =

cause so
pBuffer[j] =3D =

(((channel_2&0x0000FFFF)<<16)|(channel_1&0x0000FFFF));
//pBuffer[j] =3D ( (channel_1 & 0xFFFF0000) | (channel_2 & =

0x0000FFFF) ); // ------------------ remove this line
}

> fyi, if interference makes the stream get behind, the rate of the stream
> gets a little wacky for a while and the pitch wanders around for a few
> seconds before settling down. fwiw, this is on a machine with intel i810
> graphics which seems to "behave" better than nvidia with regard to
> interrupt masking.
> =

What do you call interference?

Fr=E9d=E9ric

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easi=
er
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D1=
21642