[Galaxy S II General] mjmccall123:
Bluetooth Audio sync issue with Subaru (kenwood) car stereo

Hi!

I have an issue where the Bluetooth audio stream doesn't stream properly when the phone is paired to my Kenwood car stereo.

Once the phone is paired - the music will attempt to start playing - but appears to get stuck in a play/pause loop - when the stereo will play about a 1/10 of a second of sound, then pause for a second, and then play another spurt of music etc. The car stereo status icon flicks between play & pause whilst this is occurring (although the music player on the phone just shows the track as playing).

By pressing pause on the music app and the car stereo, waiting for a few seconds and then pressing play simultaneously on both devices I can *sometimes* get it to sync. This can take up to 10 tries of pausing and playing to get it to sync. Sometimes killing the music app and starting it again will make it start playing properly (but again, not always).

Once the music starts playing, sound quality is (to my ears) fantastic, track forward/back works properly from the car stereo - but if the audio stream is paused – then once I try to play again, the play/pause loop occurs and I have to try and "re-sync" the audio stream.

Other info :

- I have an I9100 running CM9-20120411-nightly.

- my car is a 2012 Subaru Liberty (called the Legacy outside of Aus) - the factory stereo is a Kenwood FXDA09MREF2.

- the audio bluetooth playing works properly with all of the CM7 builds - (although no metadata either) - something in ICS has broken this..

- the samsung stock ICS also exhibits the same stuttering behaviour - but it also properly displays the track metadata!

- This stuttering happens with the stock music app, as well as using PowerAmp & PlayerPro. I also tried using Media-button-router to catch if the stereo was sending through spurious play/pause commands - but it didn’t show anything (or I did it wrong).

- The phone-headet profile part appears to work fine - eg calls always work correctly through the car stereo when the devices are paired. But after a phone call has ended and the music starts playing again - the play/pause loop normally occurs...

- [maybe irrelevant] - the phonebook transfer works properly

I also noticed that update-cm-9-20120328-NIGHTLY-galaxys2-signed.zip had this :

Disable AVRCP 1.3 for Ford (Sony) car stereos, which have a completely broken AVRCP 1.3 implementation.

I’m wondering if my Subaru (kenwood) also needs the same things disabled?

I’ve searched the forums and lists to see if this has already been covered - I don’t know if this post is relevant (still too new to post proper links) : spinics.net /lists/linux-bluetooth/msg22010.html to what’s not working? (the kenwood does have touch buttons – but the icons don’t change)

I'm not a developer but I'd like to help resolve this! I can:

* Send some debug information - I'm happy to send android logcats - just don't know who to (and I'm too scared to post on the development thread!)?

* Test new libraries etc (I’m a little bit technical – so if I have to I can work out how to get the CM9 nightlies compiling and then test patches against the cm9 source if that would help?)

Here are some logcats of various scenarios (This is with only the stock music app installed):

- log shows Bluetooth pairing, then music starts stuttering : pastebin.com /rDSLX6am

- log shows track control working properly whilst music is playing : pastebin.com /DrEgRMWz

- log starts whilst music is playing properly, pause is pressed on Car stereo, and then play; music stutters : pastebin.com/ ZC0HDVaQ

But is anyone else even having this issue - or am I (and my car) just special?

Thanks!

Mike