![]() |
Re: A2DP works, help me test it?
Woohoo, I have working A2DP working to my Moto S705! I followed the instructions here: http://www.guardiani.us/index.php/N8...Bluetooth_ALSA
Except... I only installed SBC and plugz, as the mplayer package in the standard repository understands a2dp/bluez now. plugz is a tad out of date, I had to force ignoring a dependency and hack in a symlink for compatibility: Code:
dpkg -i --ignore-depends=libdbus-1-2 plugz-svn_20070608-1_armel.deba2dpd eats 35% CPU all the time though :( --edit-- snag... if you're a2dp streaming from the n800 and the Moto S705 headset is simultaneously connected by SCO audio to a mobile phone, ringing the mobile phone makes the S705 try and stop the stream, it fails of course, the phone loses its connection, the S705 seems to hang. so, my guess is that without the AVRCP stuff, I'm only halfway to using the n800 as a cordless media player. --edit2-- Having managed to trawl through the thread I've relalised that I achieved the original way of doing things, so I've retraced my steps to remove the packages above and try and get it working as per the first post. --edit3-- I added the following to the mplayer config file which makes the command-line much quieter: Code:
quiet=1 |
Re: A2DP works, help me test it?
Quote:
BTW, Simon/lardman, has the DSP code for the SBC coder been adopted yet, will it be in the standard bluez-utils version 3.28-0osso6? |
Re: A2DP works, help me test it?
No, the DSP code hasn't been adopted (I've not tried to get it adopted either, I'm happy maintaining it in Garage for the time being). Regarding the whole load of patches currently going into SBC at the moment (lots from Serge of mplayer fame), these are patches against Bluez 4.x, though they are simple to backport.
I'll do said backporting soon, just waiting to see when Serge's patches slow down a bit so I don't have to keep releasing newer versions as the patches improve performance. |
Re: A2DP works, help me test it?
http://people.bath.ac.uk/enpsgp/noki..._armel.deb.arm
Remove the .arm on the end and install with dpkg -i It is the same version as on our N8x0s, with the exception that I replaced the sbc stuff with the latest patched version from Bluez 4.26. There's no DSP stuff in this version, just plain ARM code, so if you use a2dp but aren't too fussed about testing my DSP code, don't worry :) I've not had a chance to test this deb yet as my headset is charging atm, please let me know if there are any problems. It should sound better though as I've been using an earlier version of these patches for my DSP code and it sounds better to me :) |
Re: A2DP works, help me test it?
Can you send patch against bluez-utils 3.28-0osso6?
I have problem with this version of bluez. Headphone pause button doesn't work. |
Re: A2DP works, help me test it?
Well I've not fiddled with any of the avrcp stuff. I can do you a patch, but not till this evening. In the meantime you can do it yourself quite easily.
Download the maemo version of bluez-utils from here: http://repository.maemo.org/pool/mae...b/bluez-utils/ and simply replace the contents of the sbc subdir with that from bluez-4.26 from here: http://www.kernel.org/pub/linux/blue...ez-4.26.tar.gz Do let us know what's wrong with avrcp if you find out. |
Re: A2DP works, help me test it?
Thank you. I understand.
Once more question. Do you have problem with bison while compile bluez? I had to compile bison from Debian sources instead of using one form maemo's repo. Maemo's bison want work also while I compile another packages. The same think with flex too. |
Re: A2DP works, help me test it?
No, worked fine for me.
I downloaded the bluez packages from the maemo.org repo as detailed above, then did the following: dpkg-source -x bluez-utils_3.28-0osso6.dsc Then I copied in the sbc directory from Bluez-4.26 Then I did: cd bluez-utils-3.28 dpkg-buildpackage -rfakeroot and the package builds and produces the deb I uploaded. |
Re: A2DP works, help me test it?
Right, I've finally got round to testing my deb, it works fine. In fact it's pretty bloody good now (the audio quality). Much respect to Siarhei Siamashka for the patches to Bluez. :)
P.S. It will probably depend on the particular file you're trying to play mind you, and the CPU load (as we're talking about an ARM-only solution here). I'll get round to porting the changes to the DSP asap. |
Re: A2DP works, help me test it?
Do anybody know how to compile sbcenc.o from svn?
|
| All times are GMT. The time now is 09:08. |
vBulletin® Version 3.8.8