AOKP Build 32-Audio drop out when listening to music - Captivate General

Here is the info I posted over at Rootz, thought I'd better post it here too for reference. Not sure if it was just mine, or if this happens to everyone.
Using Build 32, any music player (Music, Winamp), MusicFX & Bluetooth headset (I think it did it while wired too), I get constant drop outs of audio. At first I thought it was the Bluetooth radio, so I flashed multiple radio's but the problem always persisted.
I finally found that by switching to Google Play Music (CM9 Music is such a CPU hog!) and DSP Manager from this thread fixes things just nicely. No more drop outs and a music player that works properly with all 3 of my BT devices (2 vehicles and a headset).
I'm not sure if the problem was device specific or not, but now it is at least fixed!

I wouldn't use DSPManager. We have Wolfson chipset and Voodoo control app for that.

build 33 change log
1st item
bug fixes
- Bluetooth: Fixed memory leak and file handles leak

Will have to try an unmodified Build 33 early in the week and see if the issue is resolved.

Related

Bluetooth A2DP warble with 2010 Toyota non/nav radios.

I'm looking at buying a new car and I tried playing music through a couple 2010 Toyota non-navigation radios. All the Android music/video players I tried would sound great for the first few seconds and then start a subtle warble/echo that continues until you pause/resume or switch tracks.
I've got an ADP1 currently running Cyanogen 4.2.11.1, but I saw the same problem with 4.2.9 and 1.6 (don't know about all the other various builds). I have several A2DP headsets and they always work fine (no warble).
I believe this Toyota radio is running Symbian OS from what I found on the web; and I'm going to try to see if Toyota has a software upgrade tomorrow. (I doubt it) Toyota does mention that most Bluetooth features are supported for the MyTouch, but doesn't mention A2DP either way. http://toyota.letstalk.com/brands/toyota-bt/home.htm
I'm downloading the whole Cyanogen tree and preparing to build it and then sniff through the code for buffer sizes and other likely suspects.
I just thought I'd pop this on XDA and see if anyone else has seen the same problem and found a solution.
Or does anyone know specifically where to look in the source to adjust buffer sizes and other things that might cause a warble with Bluetooth audio.
You should test before getting the car, ask the dealer if you can test the BT with the car when you get there.
I have been running A2DP on my Sony headunit for some time now. I have never experienced a warble on any of the roms I have used. I do get another issue however and maybe they are related. I can not stream stereo audio over BT to any device it seems, IF I also have my phones wifi enabled. As stated I do not get a warble, I get an audio drop for a few seconds every 30secs or so. This does not seem to happen if the headset is the only part connect, as soon as I connect the A2DP portions it starts up. Disabling wifi is my work around at present.
I have tried A2DP with/without WIFI enabled. No difference; still warbles.
Nothing interesting shows up in logcat.
I run A2DP through my ford focus with the microsoft sync system with no issues. Although the AVCRP does have issues. The control won't work after the phone goes to sleep.
The warble or echo may be due to an active system used to reduce road noise when using the phone hands free via bluetooth. Might check and see if there is a way of turning that off. Some of the foreign cars have active mics placed in the car that might cause this.
try an eclair rom (like manup456's 1.3)
BLUETOOTH IS IMPECCABLE ON THESE ROMS
it will work.
I tried turning off/on the auto volume; no help.
I'm not sure how to check/disable any bluetooth feedback; but it doesn't sound like that.
My friends Blackberry either worked fine (no warble) or was very very jerky (played quarter second, cut out a half second). And split its time about 50/50 between these modes.
I should mention the "warble" is not very pronounced, I can listen to most music without it making me crazy; but it bugs me.
Finally got all the stuff from git; now compiling the kernel.
I will try the compiled kernel tonight and if no luck there I may try the eclair rom mentioned; but I thought Steve's build already had most of the eclair stuff; maybe he is waiting on his experimental branch.
Edit:
oops, looks like a2dp stuff is not in the kernel....
I run A2DP on my kenwood deck. The only issue I experience is if I turn off the car and kill the stereo before killing my BT on my phone, my phone goes into freak out mode. I can't enable or disable BT untill I give a 3 finger salute and it just runs really slow. No warble, actually from CM 4.2.11.1 it sounds pretty damn decent.
I'm still trying to figure out how to compile the code from git; got the kernel and main tree compiled; but not the external apps (like a2dp).
Toyota gave me phone #s for Panasonic and somebody else who make the head units. So I am still pursuing a software update from that end as well. I'll call them next week after the holidays.
I've read thru the liba2dp.c code and have a couple ideas to try if I can figure out how to compile it (haven't really tried that hard, just looking for the official directions so I don't waste hours on something that is already known)
dude your doing too much work just try the eclair rom!!

Poor Bluetooth Streaming Audio Quality (A2DP)

I am experiencing poor sound quality while streaming audio over bluetooth from my Captivate (Apex 9.2 w/Talon .22) to my new car. Is anyone else experiencing crackles during treble intense moments while bluetooth streaming? Is there a setting I am missing? Is this a kernel, rom, or captivate hardware problem? Is there a way to get to the bluetooth bitpool settings to change bitrate (supposedly CM7 has it set to 53 and sounds good)? Before I go crazy and flash the captivate bootloaders and switch to an official 2.3.4 rom (from an I9000) I wanted to get some opinions. Thanks for the help!
**EDIT** - Am I the only one experiencing the audio crackle issue?
gte460z,
This is an issue with most if not all Android OEM's trying to use their own propriety bluetooth drivers. The poor sound quality you are experiencing is coming from a low bitpool setting that is unchangeable using any stock based ROM/kernel. The only way I have found to get around this is to flash CM or any AOSP ROM. CM is what I use since I also use bluetooth A2DP to listen to music in my car. It makes a huge difference! I hope that was the answer you were looking for.
I am in the process of installing CM7 now. Just flashing the stock kh1 bootloaders then I am off to recovery for a nandroid backup ending with CM7 nightly 104 flash. I will report back with my findings but it sounds like this should work.
CM7 did not fix the crackles/static. Any other ideas?
**EDIT** When I check the pairing in the bluetooth settings with a long press on the device name it comes up with a check mark next to set of headphones and a check mark next to a phone meaning it is connected to stream music and phone audio. I wonder if the check mark next to the phone is setting the bitrate to the level needed for a phone call instead of music. I will test tomorrow and report back.
I have some more ideas but don't have time right now. I'll get back to you in the morning.
Sent from my SGH-I897 using XDA Premium App
Alright, thats strange that CM didn't fix the problem. Something tells me the problem lies elsewhere. I have a few questions for you....
1. Do you have another phone/device that is capable of doing A2DP?
2. What is the source of your music? (Pandora, local, etc...)
3. If local what is the bitrate?
4. Does you car have an AUX jack where you could play the same media to it through that to test the quality?

Bluetooth Audio Control But No Sound

I'm running Altered's/my AOKP, and use my phone with my car (tried in multiple cars actually) stereo, which is actually an aftermarket head that worked fine with my phone before. It will connect over BT fine, and I can control my music with the buttons on the radio, but the sound still comes through the phone speaker. By this I mean, I can hit play and skip songs with the radio, but the sound plays out of the phone, not the car. any ideas?
Yea.. I never quite got to the root of the audio issues - and its probably the same in all of my source-built ROMs..
At one time I forced things to work - like the ability to make in-call volume adjustments, etc.. And now I can't get by without using pre-built audio files (libaudioflinger, libaudio_ext, etc.) - or maybe that's just for the non-kexec versions? Or maybe that's right and the issue lies elsewhere..
I'm curious, does this problem exist on mokee? Doubt it.. But I think he uses those same pre-built audio files..
I will build you a kexec version of aokp soon, and make a nice local_manifest... Then, I'm giving it up to you
Sent from my MB865 using xda app-developers app

[Q] Bluetooth Audio problems

So starting last night I have had problems with my audio on my Galaxy nexus (Rom'd/Root'd) where the Bluetooth audio would drop (Still shown as playing) and pick up where it is supposed to be if it was playing full time.
Then I decided it might be my rom breaking after a year due to apps? So reinstalled the same rom and had the same problem.
Lastly I went and updated from a 4.2.2 rom to a 4.4.2 rom and the problem has went from it dropping audio to it just not showing it playing and it plays audio randomly later.
With my 4.2.2 rom my temporary fix was to unpair/repair the audio device.
I have already tested this with multiple bluetooth devices (Philips as140 bt clock, Backbeat go 2's, and the oontz angle)
Tested two audio players (Google music, Rocket player)
Any ideas?

[Q] Audio breaks in MP3 tracks

Hi all,
I just got myself a 16GB oneplus one. It is running on Cyanogen OS version 11.0-XNPH05Q.
I got this problem, which hopefully someone has a remedy for it:
During MP3 music playbacks (no matter what MP3 player app I have installed), there is always this audio ''breaks'' in between the song. It's like the music will start to play -->break-->play.
The playback is not very smooth and it's rather irritating.
Anything I can do to remedy this?
Eastlink said:
Hi all,
I just got myself a 16GB oneplus one. It is running on Cyanogen OS version 11.0-XNPH05Q.
I got this problem, which hopefully someone has a remedy for it:
During MP3 music playbacks (no matter what MP3 player app I have installed), there is always this audio ''breaks'' in between the song. It's like the music will start to play -->break-->play.
The playback is not very smooth and it's rather irritating.
Anything I can do to remedy this?
Click to expand...
Click to collapse
Honestly, I would try updating your rom. CM12 fixed a lot of audio issues, and a host of others as well. In any case, a custom rom and kernel would most likely be the easiest fix. Other than that, there's probably a thread somewhere around the OPO forums related to this
kibmikey1 said:
Honestly, I would try updating your rom. CM12 fixed a lot of audio issues, and a host of others as well. In any case, a custom rom and kernel would most likely be the easiest fix. Other than that, there's probably a thread somewhere around the OPO forums related to this
Click to expand...
Click to collapse
Unfortunately, I have tried using CM12 (latest weekly ROM cm-12-20150308-NIGHTLY-bacon), as well as LiquidSmooth ROM 5.0.
However, the problem occurs once the headphone is plugged into the headphone jack. I am getting this audio break from youtube videos, MP3 files in internal memory, etc...
But there aren't any issues with the music playback if I am using wireless bluetooth headphones or if the music is coming out from the phone speaker itself.
I suspect this could be a hardware issue? Maybe with the headphone jack?
Hi guys,
Any remedies on my problem? And by the way, if I downgrade my phone to CM11-33R, this issue of "music glitch" will disappear. Any ROM above CM11-33R will have this issue. This occurs only for music playback through earphones. No issues through the phone loudspeakers.
And another thing is what I found out accidentally:
When this music glitch happened, I just need to play some rock music at max volume, the phone will automatically bring up the google voice search screen. And I just need to close the google voice search and the music glitch will totally go away until the next time i plug in the earphones again.
No matter what i have tried, i.e. Official lollipop, franco kernel, etc... The music glitch is still there
Thanks

Categories

Resources