maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   a2dp (sort of) (https://talk.maemo.org/showthread.php?t=7605)

debernardis 2007-07-12 14:03

a2dp (sort of)
 
While lazily browsing the web (instead of working :-) I stumbled upon Jesse Guardiani's site, who put together a bluetooth a2dp hack. I found no reference about it on the forums so I'm reporting it for others to try. I myself have no bt headset, but if it proves to work I might get one :-)

Here's the page: http://www.guardiani.us/index.php/N800_custom_packages#Bluetooth_ALSA

Have fun...

TA-t3 2007-07-12 14:17

Re: a2dp (sort of)
 
It's been posted before, but no harm in letting more people know. I haven't tried this myself however.

Milhouse 2007-07-12 17:59

Re: a2dp (sort of)
 
I tried it with 3.2007.10-7 and while it's took a while to get set up it worked very very well with my Sony Ericsson DS970 stereo headphones. The author is still working on it and will hopefully produce a deb one day. :)

orbitalcomp 2007-07-12 18:04

Re: a2dp (sort of)
 
I saw this a few weeks back, but I didn't feel like typing in terminal commands just to load and listen to a song. But if it can be integrated into a media app with a decent UI, that would be fantastic...

Milhouse - did the hack also enable regular BT headset functionality?

aleksandyr 2007-07-12 18:48

Re: a2dp (sort of)
 
It's possible to redirect GStreamer to sink to ALSA instead, but that's voodoo.

Any of the generic media players can target ALSA --- kmplayer almost certainly can --- but the CPU hit is still immense until we harness the DSP.

Milhouse 2007-07-12 20:41

Re: a2dp (sort of)
 
Quote:

Originally Posted by orbitalcomp (Post 59426)
Milhouse - did the hack also enable regular BT headset functionality?

Not sure what you mean by "regular" BT headset functionality, but the BT A2DP hacks are supported by a customised version of the UKMP media player.... if a download link isn't listed on the above website you'll probably be better off tracking down the author trevarthan on #maemo irc.

disq 2007-07-12 21:29

Re: a2dp (sort of)
 
here's the a2dp supporting media player: https://www.guardiani.us/projects/kagu/wiki

Rocketman 2007-07-12 22:17

Re: a2dp (sort of)
 
Having hacked a2dp support is nice, I guess, but right now it is very inconvenient. It is like do these ten things in xterm, install svn and other quasi cryptic stuff and ever time you want to listen to some music, type the following lines in xterm, let the program index your music, start the player and then just click on the button! What we need is official support for A2DP that makes everything idiot simple, or a 3rd party plugin like the status bar plugin for the 770 for using bluetooth keyboards. The N800 is SOOO close to being a n absolutely killer multimedia device.

berobero 2007-07-12 22:42

Re: a2dp (sort of)
 
Quote:

Originally Posted by orbitalcomp (Post 59426)
Milhouse - did the hack also enable regular BT headset functionality?

By "regular" I'm guessing you mean the mono single-ear headset with a microphone that are used to talk on cellphones... Or Skype! That would be so nice :)

A2DP doesn't not address that function. The N800's bluetooth stack would need the headset profile (HSP) and/or handsfree profile (HFP) for it to work.

Milhouse 2007-07-12 22:45

Re: a2dp (sort of)
 
Quote:

Originally Posted by Rocketman (Post 59514)
Having hacked a2dp support is nice, I guess, but right now it is very inconvenient. It is like do these ten things in xterm, install svn and other quasi cryptic stuff and ever time you want to listen to some music, type the following lines in xterm, let the program index your music, start the player and then just click on the button! What we need is official support for A2DP that makes everything idiot simple, or a 3rd party plugin like the status bar plugin for the 770 for using bluetooth keyboards.

Did you ever consider it's not yet finished and is not end-user ready? :rolleyes:

Rocketman 2007-07-12 23:06

Re: a2dp (sort of)
 
Uh, yeah, in that part where what I said it is a nice hack at the beginning, but what we need is official support or a simply 3rd party plugin at the end...

aleksandyr 2007-07-13 17:45

Re: a2dp (sort of)
 
For real a2dp support, you'd need to use DSP gateway to write a SBC-compatible transcoder (input sink and output sink), as well as rewriting the mp3 sink to perform as a transcoder instead of an output sink. You'd then FIFO the two together in DSP transport buffer memory (or combine them into one unit, but SBC is the lowest-quality option for A2DP and we'd want to use MPEG/AAC/ATRAC as appropriate later, wouldn't we) and then out via the ALSA output sink plugin to BlueZ.

Short answer:

There is no way to get this feature working acceptably without some DSP and codec hacking, which is pretty far beyond the average dev.

jrodin 2007-08-05 11:59

Re: a2dp (sort of)
 
I've managed to get A2DP working on my N800 and seems to work wonderfully, except for one problem.
If my headset is also connected to my phone (using HFP), then the audio output from the N800 constantly stutters. It doesn't seem to be related to the headset since I have no problem using A2DP from my PC while at the same time being connected to the phone.
Does anyone have a similar problem or have any idea how to sort it out?

mrp 2007-08-22 05:06

Re: a2dp (sort of)
 
I did search but still may double post, but here goes... Does this a2dp hack work in 770?

gigabites 2007-08-22 08:52

Re: a2dp (sort of)
 
Quote:

Originally Posted by orbitalcomp (Post 59426)
I saw this a few weeks back, but I didn't feel like typing in terminal commands just to load and listen to a song.

I too hate anything overly cli but I wanted to try it out. Guess what, I didn't type a single letter into terminal. The way the instructions were laid out (thanks Milhouse btw!) was dead easy to follow. All I did was copy and paste, switching between opera and terminal. At most I had to press the return key. It was well worth it.


All times are GMT. The time now is 17:53.

vBulletin® Version 3.8.8