[Q] Leedroid DSPManager not working with A2DP - Desire Q&A, Help & Troubleshooting

Hi,
I recently finally took the rooting plunge and installed Leedroid 2.3d, mostly for A2SD and DSPManager.
I cannot get DSPManger to work with my Motorola S305 A2DP headphones - turning effects on makes no difference at all. I have tried rebooting, restarting the HeadsetManager service and force stopping and restarting DSPManager.
I checked logcat while connecting the headset and the line "Bluetooth plugged: " + bluetoothAudio as specified in the DSPManager source in cyanogenmod is not there. At the begginning of the log I see a bunch of unhandled exceptions to do with DSPManager 'leaking' IntentReceivers, which could be related as it is supposed to be listening for BluetoothDevice.ACTION_ACL_CONNECTED, especially since it seems to create a bunch of BroadcastReceivers at start.
Will anything break if I try to compile the latest version from cyanogenmod github directly?

Ok, after some experimenting trying to get the cleanest logcat I could I've managed to make it work .
It seems it doesn't work until the service is restarted after an effect is enabled. It also doesn't work when all effects are disabled and then one is enabled until the service is restarted. It must be a bug of some kind with the bluetooth system as this doesn't happen with wired headphones.
DSPManager is awesome, especially the Virtual Room! It even works for Dolby Surround/Pro Logic encoded movies (only really noticeable for Room/Large Room/Stage)! . I always thought that was what Dolby Mobile did for the Desire but never could get it to work. I think the effect is at least as good as DTS SurroundSensation UltraPC Headphone (who came up with that name?), and certainly better than the Headphone Virtualization built in to Windows.

Related

[Q] Lollipop: Problem playing HE-AAC audio through Bluetooth

Hello folks,
it's been quite a long time that I've been here. That may be because I was quite happy with my phone during the last year.
However, with Sony's Lollipop update for my Z1c, I ran into a really annoying problem.
Nearly my complete collection of audio CDs has been ripped to HE-AAC files. It was never a problem to play them on my mobile phone, not with my Z1c and not with my prior phone Acro S. For quite a long time, I'm using Bluetooth to transmit the audio to my car's audio system, to some headphones and to a small battery-driven desktop speaker.
Since the Lollipop update, all HE-AAC audio played via Bluetooth becomes distorted and is very ugly to hear. It works fine when played through the phone's own speaker. All other files (I have) are played fine also via Bluetooth - including regular AAC, mp3 and so on. The problem appears with the Walkman app as well as with Google Music. It is not present when playing with VLC (which apparently has its own decoder).
I have attached a sample file to this post so that you can hear what I mean. I've also attached one AAC file resulting in this distortion. (Please respect the copyright of this song and just use it for this research only and delete it afterwards!)
Sony's support says that I should reflash (aka repair) my phone's OS. However, I guess that the problem is not limited to my phone. Has anybody of you heart of such a problem or maybe experienced it yourself? Could anyone be so kind to check if it happens with your phone, too (Sony OS and maybe Cyanogen or likewise, too)?
Regards, Mattes
I have the same audio issue as everyone else. I have the Sony Xperia Z1 - It seems that when I have the equalizer and sound effects activated the sound gets distorted after a while. So, the only solution for now is to disable equalizer and sound effect off. It all started after the lollipop update. It has nothing to do with earphones or headphones as I have tried multiple from Bose, Sony, Creative Labs and others and the sound is distorted on all of them.
Edit: It's working well with dolby patch
That actually seems very similar to the issue I kept having with my Z1 Compact and when in a call via bluetooth connected to my car... it would get super distorted every few minutes and made the call impossible to hear. Music did play fine, but would skip every so often. Going to try disabling all that audio stuff and hope it works!

Bluetooth Music Issues?

Anyone having any problems running aftermarket roms? I'm on Liquidsmooth and I am extremely dissapointed in the bluetooth quality. About to go back to stock or get rid of the tablet to just use my tab pro instead. IT doesn't skip or pause but it like, mutes for a second every 5 or so seconds. Its not consistent. But it happens soo much it gets me really angry. I'm on a fresh copy of LiquidSmooth. Haven't really done anything and nothing is running in the background that could be taking up all the system resources. I've even tried multiple music players even tho they all are horrible except PowerAmp which still doesn't have a tablet mode years after said feature was in the works.
You know of any fixes?
Googled Android Bluetooth Skip and seems its a very common problem among a few devices including the Note 4.... I don't have any issues with my Tab Pro, Just Tab S... This is bugging me because its main function is to play Music Via Bluetooth. Would prefer it through RCA/3.5mm but I don't have one
Had the same problem with my phone, solved it by adding the bluetooth device as a trusted device, so that when connected to bluetooth speaker the phone doesnt lock its self, done the same on my tab s and no problems streaming music using google music, as far as i can figure out its related to the kernel lowering the cpu speed when the screen locks, so you may be able to solve the prob using a kernel manager and increasing the idle speed, but personally i like the phone not locking when listening to music as i can access the player without unlocking, making it easier to put on a different album or song, hope this helps
Sent from my LG-D855
Use to have similar issues with the stock player on another device.
Solved it with Playerpro.
Install from play then in the app open settings then go to Audio.
Select to install the dsp pack then make sure it's active.
You will see a new option 'Audio buffer' change this to large. See how you go.
Seems to me also like an audio buffering issue (I think PowerAmp has a larger one by default). You could try raising the minimum CPU frequency since this us often the cause for problems kind this.
On that note, don't forget that none TW based ROMs don't have support for the APT-X codec that provides vastly better audio quality over Bluetooth as long as your audio adapter/headphones/car audio supports it as well. Nothing to do with the issue at hand though.
Its not a buffering issue. Its an audio pause issue. Its extremely common with Note 4 and some others. I solved it by going to a TouchWiz OEM style rom. The AOSP roms seem to all do it. Adjusting buffering settings changes nothing. Its as if the bluetooth drivers aren't capable of handling the "power" of whats going on. The Music still plays during the pause.
So far TW Roms seem to be the best for Bluetooth Audio. I use it daily since the Tablet is the main front end to my car, with a Sony 610BT AppRemote Deck.

Cant use bluetooth audio

Hey Guys,
everytime i connect my fire phone (slim kat) to a bluetooth speaker, i dont get any sound out of it.
What i tried so far:
-used multiple bluetooth devices (car; mobile speaker; tv sound bar) with no success. Everyone showed the same problem.
- removed all devices from the pairing list
- visible to all devices
- wiped cache
- tried spotify and poweramp
-moved from cm11 to slim kat: the problem was solved for like 15 min. The sound then suddenly stopped without me touching the display (no sound then, but the music player continued to play)
Any ideas? I uploaded a video showing the problem. all i get from the speaker is a silent buzz, which i tried to capture in the video at 01:20.
Also notice the weird volume button at 00:57...it switches from the normal audio speaker to the bluethooth speaker every time i change the volume.
https://youtu.be/sxMLdcQzb8E
I hope someone can help me.
I had a similar problem on stock, turned out to be my wearables apps. Microsoft Health and Pebble time, kept disconnecting me from everything else. May be completely unrelated, but worth a try. I uninstalled those apps and it started working fine.
Thanks for reply, but i dont have any wearable apps installed on the phone
Cmon guys, please help me. I know a lot of you guys are really into this topic...

Bluetooth audio stutter/skipping

This is incredibly frustrating. I had none of these issues with bluetooth on my S8+ whatsoever.
So one annoying thing that stood out was the bluetooth on this device. It keeps skipping and stuttering tracks whenever I play it on my Bose QuietComfort 35. It's normal on all my other wired cans but I usually use the QC35 alongside my phone during commutes.
Just to clarify, I'll list down all the "fixes" that I've tried. Obviously NONE of them fixed, or even alleviated the problem.
Cleared cache (this one just doesn't make sense imo)
Removed battery optimization on my music apps
Turned off WiFi & Bluetooth scanning
Switch Bluetooth audio codecs
Updated to 4.7.6
and PLEASE... if you DON'T have this problem, do NOT post how you DON'T HAVE THIS PROBLEM here, I'm looking for fixes, not jokes. Thank you.
I also have a QC35 and I don't have any issue but I post anyway
Joking aside I'm using 4.7.6 and my QC35's firmware is 1.3.4 and using the HBC codec.
What's your bose firmware ?
What do you use as a music player ? (I'm using the default Google Play music)
And what do you mean my "It's normal on all my other wired cans" ? Why would wired headphones have stutters ?
raptor2003 said:
I also have a QC35 and I don't have any issue but I post anyway
Joking aside I'm using 4.7.6 and my QC35's firmware is 1.3.4 and using the HBC codec.
What's your bose firmware ?
What do you use as a music player ? (I'm using the default Google Play music)
And what do you mean my "It's normal on all my other wired cans" ? Why would wired headphones have stutters ?
Click to expand...
Click to collapse
Everything's the same as you except I use PowerAmp as my music player and SoundCloud for streaming (both stutters/skips as well). I stated that I didn't have this problem on my wired headphones just to clarify.
I notice the problem most when I'm commuting and I have mobile data turned on. It went even more haywire when I downloaded something on Google Drive. Hopefully it gets addressed with Android Oreo and the official Bluetooth audio codecs being implemented.
Oh bad me I read the you said it was normal to have stutters while being red... Night too short.
I'll trying PowerAmp to see how it goes.
raptor2003 said:
Oh bad me I read the you said it was normal to have stutters while being red... Night too short.
I'll trying PowerAmp to see how it goes.
Click to expand...
Click to collapse
I think it has something to do more with the connections. It goes even bonkers when I'm moving around rather than laying in one place.
EpsilonT51b said:
This is incredibly frustrating. I had none of these issues with bluetooth on my S8+ whatsoever.
So one annoying thing that stood out was the bluetooth on this device. It keeps skipping and stuttering tracks whenever I play it on my Bose QuietComfort 35. It's normal on all my other wired cans but I usually use the QC35 alongside my phone during commutes.
Just to clarify, I'll list down all the "fixes" that I've tried. Obviously NONE of them fixed, or even alleviated the problem.
Cleared cache (this one just doesn't make sense imo)
Removed battery optimization on my music apps
Turned off WiFi & Bluetooth scanning
Switch Bluetooth audio codecs
Updated to 4.7.6
and PLEASE... if you DON'T have this problem, do NOT post how you DON'T HAVE THIS PROBLEM here, I'm looking for fixes, not jokes. Thank you.
Click to expand...
Click to collapse
I think I saw somewhere it's an issue with aptx HD, try to force Bluetooth codec in advanced settings to aptx or sbc.
vkass said:
I think I saw somewhere it's an issue with aptx HD, try to force Bluetooth codec in advanced settings to aptx or sbc.
Click to expand...
Click to collapse
I just said that switching Bluetooth codecs didn't work.
I'm having Bluetooth quality issues as well, particularly crackling and skipping. I noticed that if I download a file while streaming the quality will drop dramatically and the audio stream will crackle like crazy. I have tried all three codecs in nougat to no avail.
Should I upgrade to Oreo to get this sorted? Do custom kernels cause issues with the quality?
Thanks.
OnePlus 5t, theOne 7.1.1 (stock basically), viper4arise and Dolby
Update: when into EX Kernel Manager (specifically under the misc I/O settings), and change the I/O from ZEN to FIOPS. Not once has the music stuttered since, though I have only tested on SBC. If I get more results I'll bring them in.
Please note - I am on blu_spark, and I honestly do think it may have been the cause of the bluetooth skips/scratchiness. I turned off Dolby Atmos and Viper just to be sure.
Latest Oreo Beta build. Stream bluetooth, Pandora, iHeart and talk on the hands free no problems here. Lexus CT200h vehicle.
Would really check your cars manufacturer website. Most have a section where you can download latest firmware to a USB and flash your car to ensure you have the latest bluetooth firmware.
Working flawlessly on my car.
Anyone have any experience with the Oreo update?
Since updating to 4.7.6, I've experienced the following issues:
despite being connected to a bluetooth device, sound still comes out of phone speakers
static/distortion for a few minutes when initially connected to my car (2017 Chevy SS)
Upon connecting to car bluetooth, randomly the phone will call my phone number
I can usually fix these issues by either going into airplane mode for a minute or two or rebooting. Sometimes, I have to do this multiple times.
I've cleared cache but made no difference and I don't want to have to factory reset after every single update. Is it possible to flash factory images without nuking your data? You can do this with Google's Nexus/Pixel factory images.
I've got a different problem with 8.1 and BT audio. After upgrading to android 8.1, suddenly my car audio system doesn't receive songs data (artist, song, album). It's just display "no title".
Does anyone encountered similar issue?
raven6679 said:
I've got a different problem with 8.1 and BT audio. After upgrading to android 8.1, suddenly my car audio system doesn't receive songs data (artist, song, album). It's just display "no title".
Does anyone encountered similar issue?
Click to expand...
Click to collapse
Ugh, exact same issue. I don't suppose you're using a car with a UConnect system in it? Dodge, Jeep? All those crappy brands?
I am able to make phone calls just fine but I can't stream audio to save my f**king life. This happened right after the upgrade to 8.1 and latest update did nothing to fix this nor did it mention the issue. Has Oneplus even acknowledged the issue?
Im actually having the same exact issue, with Uconnect on a 2017 Chrysler 300s. Bluetooth skipping and sounds like crap. Have tried pretty much everything so far and no fixes
this what happen to me ...bluetooth to speaker klipsch ... sometimes got crack sound ...i mean wtf
Has anyone been able to figure this out? I'm still experiencing issues as well. OP5T and QC35.
I've been working OP support for almost 2 months via email and the cannot figure out how to fix this for be BT CALLS sound terrible,
I'm having problems with Bluetooth in a ford fiesta 2015. The phone is on 8.1.0 stock, no root. The device itself connects to the car perfectly, but fails to download the phone book, and says I loose signal when trying to make a call. The device registers that I've asked to call a certain person but nothing else happens afterwards.
I didn't have this problem on 5.0.4

Random loud screeching/white noise when bluetooth is on?

Recently, my phone's started to randomly shriek with white noise and it scares me silly. I think I've narrowed it down to when bluetooth is enabled and playing music (spotify).
Has anyone ever encountered this issue or could suggest what solutions I can try out? I've rebooted my phone and I don't want to immediately jump to a factory reset quite yet.
firstblud said:
Recently, my phone's started to randomly shriek with white noise and it scares me silly. I think I've narrowed it down to when bluetooth is enabled and playing music (spotify).
Has anyone ever encountered this issue or could suggest what solutions I can try out? I've rebooted my phone and I don't want to immediately jump to a factory reset quite yet.
Click to expand...
Click to collapse
I have an AT&T LG G8 running Android 10 (SW ver. G820UM20k.) I've also had this issue for some months now. However, while I have Spotify installed I am almost never using it; the noise occurs anyway.
My usage pattern when it occurs typically involves going between YouTube, Chrome, and Twitter apps, and occasionally other social media apps. Often happens when playing a video or audio in the background, but occasionally get the noise when dead silent in between apps too.
I've noted that if I stop what I'm doing when I hear it and immediately switch the audio path back to the phone (via the notification toggle,) the noise often occurs again but out of the phone speaker after a short time.
Now, I've not experienced any random noises the past couple of weeks, but haven't found a definite solution either. Searching the internet for "phone random static burst" or "phone making loud noise randomly" yields similar complaints going back the last few years, across different devices (and presumably Android versions.) Disabling/ force stopping Chrome was a more popular suggestion that came up, as well as fiddling with the Bluetooth codec in developer options. (I'd also suggest making sure all installed apps are updated, if the bug is indeed related to apps mishandling audio somehow.)
Given the range of system specs with these similar complaints, my hunch is the core issue may have to do with certain Bluetooth stack implementations just having problems in certain scenarios. FWIW I have my Bluetooth currently set to AVRCP 1.6 (Default is 1.4) and audio codec to SBC (Default is System Selection.) In months prior when I had the noise issue, these were set to default. My Bluetooth earbuds (Sony WF-1000XM3) prefer to default to AAC codec but do support SBC; I believe I haven't had the noise since forcing the system codec to be SBC only. If nothing else works, may be worth toggling that setting and hoping it fixes the noise. Good luck.

Categories

Resources