linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-10  8:17 Frederic Dalleau
  2006-05-10 17:49 ` Brad Midgley
  0 siblings, 1 reply; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-10  8:17 UTC (permalink / raw)
  To: bluez-devel

Hi brad,=20

> I'm glad to hear it works out. Is this totally a hobby thing=20
> or does it have anything to do with your day job? :)

You're right brad! It's my day job. As you know, PalmSource announced
recently that its next platform release called ALP will use BlueZ (BT
2.0 compliant) : see
http://www.palmsource.com/press/2006/021406_accesslinuxplatform.html.
Currently, we are still in the development phase of the ALP platform. In
this context, I will work on the a2dp profile.

Regards,
Frederic


-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-11  9:15 Frederic Dalleau
  2006-05-12 17:10 ` Brad Midgley
  2006-08-02 14:08 ` Brad Midgley
  0 siblings, 2 replies; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-11  9:15 UTC (permalink / raw)
  To: bluez-devel

Brad,

> I've read about ALP. It looks exciting. I was glad to see ALP=20
> will include gstreamer as part of the foundation. You should=20
> help me write proper gstreamer plugins.

	I did not worry about gstreamer as I tried the gstreamer
alsasink yesterday. This allow you to create a graph with either
bluetooth output or alsa output without modifying your .asoundrc. Just
modify the device field. One address only as set in filename.

> alsa plugins use an api that is too simple for complete=20
> headset support... also there have been complaints about=20
> libalsa not scaling down for embedded systems.

	I'm new to alsa and gstreamer and I don't understand you yet.
Can you point me to document you use? I just saw that volume control
wasn't available with alsa-plugin if this is what you mean.

	However, I mainly worry about the following points :
	* I do not get 2 apps with a2dp output on the same address. As
devices seems to manage only one socket, the second app will generally
crash. Could we implement some sort of mixing or application selection
(the foreground app or the first app started on an address, but with
proper error handling for the others)?
	* How to select whether the application will output on a2dp or
speaker? Should this be application related or system related?
	* What you told me with gxine may vary depending the
application. I believe one way to handle this is to maintain
asynchronous connection to target sink. The api would just enqueue the
audio packets into a common shared queue (per target). The connection
simply close when there are no more audio packets.

	Did you change something since 0.42?

Frederic


-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-05 12:38 Frederic Dalleau
  2006-05-05 17:24 ` Brad Midgley
  0 siblings, 1 reply; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-05 12:38 UTC (permalink / raw)
  To: bluez-devel

> i've been meaning to for a while, so i made a 0.42 snapshot. it's
current so you could try that if=20
> cvs is giving you trouble.

It works!

I have lots of glitch using mpg123|a2play but none with alsa-plugin!
It's cool :D
There were minor build problems though (sbc.h and libsbc.a not
reachable)
Retried cvs but I couldn't get latest, anonymous login is not allowed.

Frederic



-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-04 15:58 Frederic Dalleau
  2006-05-04 17:19 ` Brad Midgley
  0 siblings, 1 reply; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-04 15:58 UTC (permalink / raw)
  To: bluez-devel

Brad,

> fyi, there is not any a2dp encapsulation for the plugin or for
a2play...
> a2dp negotiation happens over one l2cap and a separate l2cap is
negotiated for the sbc data.

By encapsulation I mean there is a packet_header and a payload_header in
a2play.c that I do not see in alsa-plugin, at least in my version!
I'm still waiting to see a2dp_transfer2

Frederic


-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-04 15:34 Frederic Dalleau
  0 siblings, 0 replies; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-04 15:34 UTC (permalink / raw)
  To: bluez-devel

> It's possible he and I are using different versions of a2dp_transfer
> (a2dp_transfer2 works better for me and that's the one cvs-head uses)

a2dp_transfer2 ? I have no such function.
I used cvs.sourceforge.net/cvsroot/bluetooth-alsa.=20
bluetooth-alsa.cvs.sourceforge.net/... didn't want my anonymous login.
Is it a different server?

Frederic


-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [Bluez-devel] A2DP and Alsa Plugin
@ 2006-05-04 13:30 Frederic Dalleau
  2006-05-04 14:36 ` Brad Midgley
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Frederic Dalleau @ 2006-05-04 13:30 UTC (permalink / raw)
  To: bluez-devel

Hi all,

I recently started to work with bluetooth-alsa (0.41) and a bluetake =
iPhono BT420 headset.
I made it work using a2play, but not using alsa-plugins. I also tried =
the latest cvs without success.

At first, I had the following message :=20
"Requested Capabilities for SEID =3D 1
Didn't receive SBC codec parameters (first) for SEID =3D 1"
As it worked with a2play, I went into the source code, and it appeared =
that pcm_a2dp.c uses O_NONBLOCK socket option. Removing the option =
allowed me to go further.

After that, I saw "DEBUG:a2dp_transfer" traces : but the write() call =
was failing with error=3DIncorrect parameter. I believe this has =
something to do with mtu because after reducing the transmitted size, =
the calls were succeeding, and the iphono started to make noise, but it =
really was not what I expected. I'm right saying there is no a2dp =
encapsulation for sbc blocks  within the plugin?=20

Has anyone made the plugin work? Also, as I will have time to work with =
bt-alsa, I would be pleased to help. What must/can be done? What area =
can I investigate in order to have a2dp working with alsa?

I'm really new to bt, any help will be welcome, thank you,

Regards,

Fr=E9d=E9ric Dalleau


-------------------------------------------------------
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 easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2006-08-02 14:54 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-10  8:17 [Bluez-devel] A2DP and Alsa Plugin Frederic Dalleau
2006-05-10 17:49 ` Brad Midgley
  -- strict thread matches above, loose matches on Subject: below --
2006-05-11  9:15 Frederic Dalleau
2006-05-12 17:10 ` Brad Midgley
2006-05-17 16:51   ` Frédéric DALLEAU
2006-05-17 17:40     ` Brad Midgley
2006-05-29  7:02     ` Brad Midgley
2006-05-30 10:20       ` Frédéric DALLEAU
2006-05-30 16:38         ` Brad Midgley
2006-05-30 20:28         ` Brad Midgley
2006-08-02 14:08 ` Brad Midgley
2006-08-02 14:54   ` Frédéric DALLEAU
2006-05-05 12:38 Frederic Dalleau
2006-05-05 17:24 ` Brad Midgley
2006-05-04 15:58 Frederic Dalleau
2006-05-04 17:19 ` Brad Midgley
2006-05-04 15:34 Frederic Dalleau
2006-05-04 13:30 Frederic Dalleau
2006-05-04 14:36 ` Brad Midgley
2006-05-04 14:50 ` Brad Midgley
2006-05-04 15:20 ` Brad Midgley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).