Bitpool settings for automatic A2DP toggling - Touch Diamond, MDA Compact IV General

I had the problem that my Diamond haven't automatically toggled to A2DP devices. I had to set manually the A2DP devices to wireless stereo every time. Thought that was caused by the ROM (first panosha's, now udk's BETA3) but I found the solution (at least for my A2DP devices):
If the bitpool minimum setting is too high, the automatic connection doesn't work anymore! Tested it a dozen times with different values. I read the A2DP spec: reason seems to be that the device negotiate the right bitpool setting and if they don't find a common setting directly they don't connect instantly ...
So the maximum "minimum bitpool setting" for my Gear4 Blustream receiver is 32. With a value of 33 the automatic connection doesn't work anymore! 32 works as well with Gear4's Blackbox. Maximum bitpool is set at 75 and bitpool set to "very high."
And the sound quality is significantly better than with min 0 and max 30 bitpool.

any chance you know thr corect bit settings for my samsung sbh500 bluetooth headset ?

darkenergy said:
any chance you know thr corect bit settings for my samsung sbh500 bluetooth headset ?
Click to expand...
Click to collapse
It"s easy to determine the maximum "minimum bitpool". Just start with a high minimum setting of i.e. 50 and max 75, soft reset and check if the automatically connect. If not, lower the minimum bitpool to i.e. 45, soft reset, check and so on ...

Related

A2DP Registry settings for quality/stability?

I've been experimenting a lot with different registry settings related to A2DP quality. Trying to find the best quality that can be sustained without skipping in normal use.
Using the Faria 8mb AKU 3.3 v2 ROM on a G3 Wizard, WM Player with 128Kbps WMA files on the SD card for comparison. Headset used is Plantronic S590's
Use at your own risk (standard reg editing disclaimer inserted here)
I'm hoping for some input on improvements and maybe what some of these settings actually do, if anything
I found this combination of registry settings in the Hermes forum and they seem to work well on my G3 Wizard. Good quality, stability, stereo and no skipping unless the device is busy with other stuff (like e-mail downloads).
Some of these reg keys did not exist on my wizard so I created them as REG_DWORD with the decimal values shown.
CPU utilization is about 70% at default clock speed (195Mhz), I usually overclock a touch, but I ran at the default speed for testing.
Here's the settings that I'm using:
/HKLM/Drivers/BuiltIn/BtA2dpSnd/Priority256=60 (Decimal)
/HKLM/Software/Microsoft/Bluetooth/AudioGateway/Capability=69 (Decimal)
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/UseJointStereo=0
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/SampleRate=48000
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/BitPool=48 (Decimal)
/HKLM/Software/Microsoft/Bluetooth/A2DP/Settings/MaxSupportedBitPool=48 (Decimal)
Thoughts Anyone?
For my wizard, non of the registry settings work(although they work on some wizards). I solve my skipping by overclocking to 260Mhz(battery status display).. Now using Axim Widcomm stack, also overclocked to 260Mhz..
Yeah, I went the overclock route for a while. It did make the skipping go away.
I've mainly been trying to get the max audio quality possible, it's been said that different headset react differently too, but I only have one pair to work with.
Same here, I only have the Itech S35... The Itech has the added advantage (if you listen to MP3s) that you can forgo A2DP patching as you can then use MSI Blueplayer which gives superb quality. Else, I still think you should give Widcomm a try.. It is almost flawless(A2DP wise) on my wizard(overclock also) except for certain times when I have to reboot to switch on bluetooth because of memory driver full. I read that this is a bug for Widcomm even in the W2K2 days as well, but I could be wrong..
new2city said:
Same here, I only have the Itech S35... The Itech has the added advantage (if you listen to MP3s) that you can forgo A2DP patching as you can then use MSI Blueplayer which gives superb quality. Else, I still think you should give Widcomm a try.. It is almost flawless(A2DP wise) on my wizard(overclock also) except for certain times when I have to reboot to switch on bluetooth because of memory driver full. I read that this is a bug for Widcomm even in the W2K2 days as well, but I could be wrong..
Click to expand...
Click to collapse
OK, sounds like it's time to search the forums for how to replace the BlueTooth stack, ugh, not enough time to go around :-(
Just search for Peetking and you will find the Wizard Widcomm thread, a bit inactive though...

A2DP BitPool settings

I'm sorry to have to post this, I don't like asking for help!
I've tried searching with the term BitPool (and got nothing even though this word is in the KaiserTweek thread so that at least should have come up in the results!) and A2DP as well as several other key words on their own but have found nothing, I've searched both this forum and the main Kaiser forum, with child forum search activated. (Is the search function playing up?)
I want to try playing with my A2DP settings, I have found the registry key to edit but don't want to try random settings. I also have KaiserTweek, but although there are several options in the bitpool setting, for some reason I can only select the default and "very low" options. The others won't stick and revert back to default.
So could some kind soul either post the different settings to try in the registry, or point me to a thread (I'm sure there was one once!) that discusses the merits of the various settings. The issue I'm having is that when connected to my rSAP carkit (Nokia 610) music jumps like crazy. I've tried enabling and disabling joint audio to no effect (soft reset each time to make sure the device has updated the registry) and figured adjusting the bitpool may have some effect. Course I may also be completely wrong as music works fine when the audio isn't connected via A2DP (hard wire connection) and the phone is connected via rSAP, or when the A2DP is active, but rSAP isn't. It may just be a limitation of the bluetooth bandwidth. The solution posted in another thread or cycling bluetooth on/off doesn't work for me.
Thanks
MODS - please delete one of these double threads, or merge them. Dunno why there are two!
Hi Steve. It sounds like you are running in to the same problem as I am as described in my thread http://forum.xda-developers.com/showthread.php?t=356630.
Unfortunately I was unable to find a bitpool setting change that fixed the problem.
I'd be very curious to hear whether your skipping also coincides with cell phone tower hand-overs and whether the skipping goes away if you soft-reset your device before you connect it to your car and A2DP receiver.
It happens even when stationary, and using phone alarm too confirms that there is no cell switching going on. In fact the phone has full strength indicated so it's probably not even hunting for a better signal.
I too notice the problem is worse at night, but I don't soft reset the phone in the morning, I just connect and go. Even then I have to disable the bluetooth carkit, but in the evenings its the devil's own job getting A2DP to stream. The bluetooth dongle says its connected, the phone thinks its connected but no music comes out of either the car radio (wired to the dongle) or the phone. Bit of playing and it will either work, or I'll give up.
Actually thinking about it. You have the problem when you change cell towers, so the phone is registering with the new tower. My carkit uses rSAP (remote sim access profile) so the phone itself is effectively switched off, the carkit becomes the phone by accessing my sim and handles the cell side of things. So I think I can effectively rule out the cell tower thing.
Thanks for your reply!

A2DP BitPool settings

I'm sorry to have to post this, I don't like asking for help!
I've tried searching with the term BitPool (and got nothing even though this word is in the KaiserTweek thread so that at least should have come up in the results!) and A2DP as well as several other key words on their own but have found nothing, I've searched both this forum and the main Kaiser forum, with child forum search activated. (Is the search function playing up?)
I want to try playing with my A2DP settings, I have found the registry key to edit but don't want to try random settings. I also have KaiserTweek, but although there are several options in the bitpool setting, for some reason I can only select the default and "very low" options. The others won't stick and revert back to default.
So could some kind soul either post the different settings to try in the registry, or point me to a thread (I'm sure there was one once!) that discusses the merits of the various settings. The issue I'm having is that when connected to my rSAP carkit (Nokia 610) music jumps like crazy. I've tried enabling and disabling joint audio to no effect (soft reset each time to make sure the device has updated the registry) and figured adjusting the bitpool may have some effect. Course I may also be completely wrong as music works fine when the audio isn't connected via A2DP (hard wire connection) and the phone is connected via rSAP, or when the A2DP is active, but rSAP isn't. It may just be a limitation of the bluetooth bandwidth. The solution posted in another thread or cycling bluetooth on/off doesn't work for me.
Thanks

wireless stereo problem

Hi guys
I been having some problem with my Diamond and the car Bluetooth wireless stereo, the first time I made the partnership it works fine but the next time I try it doesn’t sound, what I have to do is eliminate the partnership and create again. Or go to command manager, Bluetooth settings and uncheck the wireless stereo option, save it and again enable it… but every time I have to do the same, there is any solution to that?
It happen is every rom y tried
on my stero I need to hit the mic button for the bt stero connection to come to life & start plaing - its by design I think
For the same problem, I have changed the minimun bitpool bluetooth value.
It was setted to high (40). Now I'm trying with:
55 bitpool value
60 max value
25 min value
Now looks like it's working good!
tks im going to try

{REQUEST} help me make a simple Module for permanently setting LDAC bitrate

Heyho! I've been researching everywhere but have not found a viable solution to permanently set the LDAC bitrate on an android Device. I have extremely basic coding skills, so I'd love someone to help me out and make this together.
PROBLEM
When using Headphones that support the LDAC audio codec (developed and support by Sony and Sony Headphones), many Android Devices wrongly default to a lesser bitrate (like 660kbit/s) or force you to use "adaptive bitrate (up to as little as 300kbit/s which is less than even inferior SBC)". Changing the bitrate to the maximum 990-909kbit/s setting in developer options often doesn't work and won't stick when the Headphones are reconnected or the phone is rebooted.
SOLUTION
A Magisk Module similar to "Bluetooth Audio Bitrate Changer" that permenantly sets the bitrate for the LDAC codec (not yet supported by the affirmentioned module).
Let me know if anyone would be interested. Cheers!
Same problem ..
have you found a solution?
Ward,still hoping someone would make it
Im going to ask for it again ;-;
PROBLEM
When using Bluetooth dongle that support the LDAC audio codec (FIIO BTR5), my Devices (s8/poco x3 pro) wrongly default to a lesser bitrate (like 660kbit/s) or force you to use "adaptive bitrate (up to as little as 300kbit/s which is less than even inferior SBC)". Changing the bitrate to the maximum 990-909kbit/s setting in developer options often doesn't work and won't stick when the dongle are reconnected or the phone is rebooted.
Any solution? This doesnt happen in my sony xz since it had option to override ldac sound bitrate from the sony rom itself
golf174 said:
Same problem ..
have you found a solution?
Click to expand...
Click to collapse
seems people will just pretend this problem never exist ..... F
Solution: Install sony music center
I use samsung. It was same problem that in developer options it is defaulting to optimized connection.
But when I have installed sony music center app and in app options selected audio quality prefered on device after restarting phone now in developer options it is 990kb streaming is a default when connected to sony xm2.
I hate this as well. I do not fully understand why is this LDAC settings hidden in developer settings in the first place. You buy 400 bucks LDAC capable Sony headphones and you have to connect the BT, go to developer settings to change correct bitrate and frequency every single time as a complete moron.
If anyone capable can bring this (maybe simple) module to magisk I would make a statue for him
Hi, have the same problem.
On top of bitrate, I would like it to stick with constant 44.1kHz/16bit since that is about what LDAC can handle bandwidth-wise. But on my s10 it defaults to upscaling to 96kHz/32 bit, which then loses a lot of bits due to limited bandwidth.
martynas said:
I use samsung. It was same problem that in developer options it is defaulting to optimized connection.
But when I have installed sony music center app and in app options selected audio quality prefered on device after restarting phone now in developer options it is 990kb streaming is a default when connected to sony xm2.
Click to expand...
Click to collapse
can i set it up for something other than sony device(ie FiiO BTR5)
aulkiller said:
can i set it up for something other than sony device(ie FiiO BTR5)
Click to expand...
Click to collapse
I think you should not be able.
I've been searching everywhere for this functionality, but to no avail. However I've just found a workaround with the Sony Music Centre, so big thanks to whoever mentioned that. To be clear I'm not using Sony headphones. My setup is a Samsung phone and a pair of Fiio EH3's. I did it like this:
1. Installed the Music Center app
2. Powered up my BT headphones
3. Clicked on the 3 dots menu > Music Center Settings > Bluetooth Output Settings > LDAC Playback Quality > Priority on Sound Quality. This setting forces Optimised for Audio Quality in Developer Options.
5. Close the Music Center app. Note do not kill / force stop.
The magic bit is that I can then switch off my BT headphones, and when I switch them back on the 990-909 kbps setting persists. I can even reboot the phone and the setting sticks. The down side is that it also forces 96kHz/32bit. So I'm not suggesting its perfect.
The only action I've found that resets everything is a kill / force stop of the Music Center app. I then have to go back through the process of re-enabling the setting in the app.
Hope this works for others in their setups, at least until someone with the skills makes a proper fix.
Ahh tyvm bro
MrQuack said:
I've been searching everywhere for this functionality, but to no avail. However I've just found a workaround with the Sony Music Centre, so big thanks to whoever mentioned that. To be clear I'm not using Sony headphones. My setup is a Samsung phone and a pair of Fiio EH3's. I did it like this:
1. Installed the Music Center app
2. Powered up my BT headphones
3. Clicked on the 3 dots menu > Music Center Settings > Bluetooth Output Settings > LDAC Playback Quality > Priority on Sound Quality. This setting forces Optimised for Audio Quality in Developer Options.
5. Close the Music Center app. Note do not kill / force stop.
The magic bit is that I can then switch off my BT headphones, and when I switch them back on the 990-909 kbps setting persists. I can even reboot the phone and the setting sticks. The down side is that it also forces 96kHz/32bit. So I'm not suggesting its perfect.
The only action I've found that resets everything is a kill / force stop of the Music Center app. I then have to go back through the process of re-enabling the setting in the app.
Hope this works for others in their setups, at least until someone with the skills makes a proper fix.
Click to expand...
Click to collapse
Thanks for the suggestion. Unfortunately it does not work with WH-1000XM4 and my samsung galaxy S9/redmi note 10; nothing I do seems to make the "optimize for audio quality" stick in developer options after I disconnect/reconnect. It always reverts back to "best effort" when I restart the headphone. Did anybody manage to make it stick with a S9 after disconnect/reconnect?
Alternatively, could you give me smartphone names where the "optimize for audio quality" sticks after a disconnection/reconnection ? Thank you vey much
Bumping this as my phone resetting it's LDAC quality setting when it reconnects to my car bluetooth every time I get in or out of the car is driving me batty. What's the point of LDAC if it defaults to a quality that is worse than SBC fer cryin' out loud?
I was also looking for an app or solution with same requirement , to set the LDAC properties to the highest setting when connecting to my LDAC Bluetooth receiver.
Bluetooth Codec Changer App does this.
Hope this helps.....
Bluetooth Codec Changer - Apps on Google Play
Control Bluetooth Headset A2DP Codec (SBC/AAC/aptX/aptX HD/LDAC/LHDC/SSC/LC3).
play.google.com

Categories

Resources