Question Significant bluetooth audio delay - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

Hello.
I have installed the AOSP based ArrowOS and CrDroid roms and the audio lag on my bluetooth earbuds is considerable. According to the Audio Checker app, the latency is 244 ms, but in reality the latency has to be close to a second, especially when I'm using the Moonlight Game Streaming app.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
However, in Miui or Xiaomi EU the latency is imperceptible. Audio Checker shows 80 ms of latency in these roms and in practice it is the same, I have even played Resident Evil 8 with bluetooth headphones and with a kishi connected to the mobile transmitting from my computer. The experience is good considering I'm using $30 Tozo T12 headphones.
As you can see in the attached images, in the miui based roms the audio buffer size is smaller than in the Aosp roms, at least that is what the Audio Checker app shows. So is it possible to modify some system file (I have root access) on those AOSP based roms to reduce bluetooth audio latency?

What Bluetooth Audio Codec is used on both? AptX? SBC?
The Codec makes a huge difference in the Sound Lag (and Sound Quality)
Ideally use AptX, if supported by the headphone

cyanGalaxy said:
What Bluetooth Audio Codec is used on both? AptX? SBC?
The Codec makes a huge difference in the Sound Lag (and Sound Quality)
Ideally use AptX, if supported by the headphone
Click to expand...
Click to collapse
It's showing 240ms for all codecs. SBC, aptx, aptx-HD, LDAC

cyanGalaxy said:
What Bluetooth Audio Codec is used on both? AptX? SBC?
The Codec makes a huge difference in the Sound Lag (and Sound Quality)
Ideally use AptX, if supported by the headphone
Click to expand...
Click to collapse
SBC on both

lichnox said:
SBC on both
Click to expand...
Click to collapse
The app was last updated 7 years ago. I wouldn't trust its values too much..
But I've heard of other people complaining about significant Bluetooth Audio Delay in AOSP ROMs, compared to MIUI...
But does your Bluetooth headphone support AptX? You might be able to enable this in Bluetooth device settings.
Could try asking their respective Telegram Groups...

Related

[Mini tutorial] Beats audio in Poweramp

First of all, this isn't a system mod!
I have found the suitable EQ settings - which resemble the 'Beats' sound in Poweramp - on another forum and I'm going to post them here:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The finder of this has used an older version of Poweramp but you could enter these settings into the newest one. The author has also enabled Dolby surround in his Desire HD. So we can't fully imitate the Beats audio since our Wildfire S doesn't support Dolby, but this is the closest we have come so far. I have tested about 10 different songs with my HTC connected to my Kenwood stereo and I have to say the original 'Beats' sound is still a tiny bit deeper and more direct (Stock player vs. Poweramp; I have flashed the latest patch provided by einstein.frat). Nevertheless you must really listen for a difference to notice one.
One last thing: disable the 'Limit' option in Poweramp's EQ and set the 'Bass' and 'Treble' knobs as shown. Actually you could play with them a little bit, but don't exceed the 1/2 mark (the position of the knob's mark pointing upwards). You could leave the 'Tone' setting on, it doesn't really matter.
Enjoy!
Thanks for sharing.
There is a Stereo X for Poweramp ver 2.0.5.
So, what's the setting for this?
Thanks. Cool EQ.
can we use this in dsp eqalizer ?
ardayksl said:
can we use this in dsp eqalizer ?
Click to expand...
Click to collapse
OMG. What a question. Just try it. It is only EQ setting.
Thanks for sharing. This EQ settings works good for me with Beats headphones
o waw @[email protected]
man,, first of all,, you should consider not everybody has the same earphone/headphone/headset or whatever speaker like you have,, since it will make a really huge difference.
You can ask for this setting to be sent to some other server eg google drive, or for where to download it from?
https://forum.powerampapp.com/topic/11160-best-equalizer-setting-for-poweramp/

US Galaxy S3 supports AptX

The international GS3 supports AptX (higher quality codec for A2DP Bluetooth streaming), but I couldn't definitively find support that the US version did. And then Samsung said it didn't support AptX. Those clueless people....
Well, I hooked my AT&T GS3 up to an HTC A200 Bluetooth receiver, which has AptX, and ran a catlog:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And we do!
If anyone else was wondering,
ikjadoon said:
The international GS3 supports AptX (higher quality codec for A2DP Bluetooth streaming), but I couldn't definitively find support that the US version did. And then Samsung said it didn't support AptX. Those clueless people....
Well, I hooked my AT&T GS3 up to an HTC A200 Bluetooth receiver, which has AptX, and ran a catlog:
View attachment 2066661
And we do!
If anyone else was wondering,
Click to expand...
Click to collapse
Now I just need a BT car stereo head unit that supports it.
stewartsoda said:
Now I just need a BT car stereo head unit that supports it.
Click to expand...
Click to collapse
Yup. I waited until now, but no luck. I'm leaving the country for a year, so here's hoping they figure it out by 2015.
Instead, I just added the HTC StereoClip to my car's AUX port and now I get high quality AptX in my car. Of course, if I'm not listening to the AUX mode, I won't get interrupted if a phone call comes in or if a GPS direction comes through, but not a deal breaker.
ikjadoon said:
The international GS3 supports AptX (higher quality codec for A2DP Bluetooth streaming), but I couldn't definitively find support that the US version did. And then Samsung said it didn't support AptX. Those clueless people....
Well, I hooked my AT&T GS3 up to an HTC A200 Bluetooth receiver, which has AptX, and ran a catlog:
View attachment 2066661
And we do!
If anyone else was wondering,
Click to expand...
Click to collapse
Yeah I am the one wondering,
I have the international i9500 Galaxy S4 and trying to confirm the presence of Aptx . Running stock ROM ( fork of stock) WanamLite 4.2.2. Hope you can help me with my queries.
1. How to confirm that it supports Bluetooth audio aptX (any terminal or ADB command ? ), will this command even output the presence of aptX , even if the mobile is not paired to an aptX complaint device and actively streaming the audio. I have tried running the logcat via ADB mode and from inside the android app (Catlog and aLogcat), the logcat freezes after a while and does not updates any new messages. Apparently from the available output I am unable to find any messages with text strings " D/audio codecs aptx" or anything similar.
2. Just wanted to see what messages are output in logcat when connecting to a Bluetooth device, at the moment I dont have any aptX enabled device, just regular bluetooth headset and DOSS DS-1155 Bluetooth Motion Speakers. However still unable to do so, although I am just researching prior to buying an aptX headphones.
3. If connected to an aptX complaint device , do we have to use the stock android ROM Music or Media player to get the benefit of aptX audio streaming. Or we can use any media player of our choice (like MX Player, Wondershare or even the ported Sony Walkman App) while running the stock ROM.
Would really appreciate the feedback and opinions for the queries, which are not only for me, but would help the community at large.
Thanks.

Question Does the Xiaomi K40 support AptX HD/Adaptive?

Hi.
Looking at gsmarena, it doesn't list as aptXhd or adaptive is supported by this phone.
Anyone can help?
Comfirm It has aptx support.
You can assume that the Snapdragon cpu will support aptx because it's Qualcomm's command code.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
both supported. Using it as we speak
cyclonemon said:
Comfirm It has aptx support.
You can assume that the Snapdragon cpu will support aptx because it's Qualcomm's command code.
View attachment 5350657
Click to expand...
Click to collapse
aptx different from aptx adaptive and aptx hd. Pixel lineup is an example. Pixel supports aptx and aptx hd but not aptx adaptive. however Poco f3 stock miui 12 support all aptx codecs. Just a small info for you.
I'm using the Nuraphones which work best with aptX HD (adaptive would be better) and what do you know, I'm upgrading from my OnePlus One (from 2014) and I'm not sure what to buy really, but I know I want AptX HD
thanks.
kmykoh said:
aptx different from aptx adaptive and aptx hd. Pixel lineup is an example. Pixel supports aptx and aptx hd but not aptx adaptive. however Poco f3 stock miui 12 support all aptx codecs. Just a small info for you.
Click to expand...
Click to collapse
thanks for the information I went to find out about their differences in attachments, so how can I know which devices support their code.
Please advice on how to check devices support.
cyclonemon said:
thanks for the information I went to find out about their differences in attachments, so how can I know which devices support their code.
Please advice on how to check devices support.
Click to expand...
Click to collapse
I don't know how to check supported devices. I speak from experience as I have a f3 , pixel 5 and an aptx adaptive earbuds. And f3 recognize my earbuds with hd and adaptive. So it supports both. Pixel 5 on the other hand doesn't show aptx adaptive. XD
gil80 said:
I'm using the Nuraphones which work best with aptX HD (adaptive would be better) and what do you know, I'm upgrading from my OnePlus One (from 2014) and I'm not sure what to buy really, but I know I want AptX HD
thanks.
Click to expand...
Click to collapse
like i said, aptx hd supported. Even newer aptx adaptive supported
depends on what tws you're using...
also it depend on what you're listening (music files & player apps) if it only spotify mostly it just boost the volume sound, the details & clarity improve but not so much
i didn't yet have tws, however i use usb c dual dac...this part improve a lot on SQL, on tws (just barely tested it) with sony XM3..it does ups your sound (again depends on what music files & player apps) but since i'm cable type guy..so i stick with my usb c dual dac

Question [SM-S901U] How can i change the bluetooth bit & sample rates and turn on HD audio in the dev options?

It wont let me change these settings, regardless of if im connected to a bluetooth device or not. Do i need to have other settings enabled/disabled before i can change the audio settings under the developer options menu?
I have the U.S model with the Qualcomm snapdragon chipset, running android 12 and One UI 4.1, in case that's worth noting.
Im not sure if these will be of any use but just for reference heres 2 screenshots of the menus im unable to interact with.
All other bluetooth settings between "HD audio" and "Bluetooth Audio Codec LDAC:"
I'm unable to change, even though i can open the menus and none of the options appear to be grayed-out.
Sorry if this has been answered elsewhere. Im fairly new here and android 12 as well (most recent android version ive used in recent years is android 8.0 oreo). still learning my way around.
thanks in advance for any help, answers, etc.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tldr: I’m no help, but I can confirm some parts.
I’ve got a pair of Sony WF-1000XM3. As long as the headphones are connected, I can turn on and off the HD audio setting and switch between SBC and AAC (they don’t support better standards).
My old Bluetooth speaker and a Jabra Evolve 65 don't activate this settings, so it depends on the Bluetooth version and supported audio formats?
I'm unable to change, even though i can open the menus and none of the options appear to be grayed-out.
Click to expand...
Click to collapse
Yes I can confirm that, same here.
It's as simple as connecting a headset capable of this codecs/options.
I think generally the best option would be selected automatically.
Swaddy said:
tldr: I’m no help, but I can confirm some parts.
I’ve got a pair of Sony WF-1000XM3. As long as the headphones are connected, I can turn on and off the HD audio setting and switch between SBC and AAC (they don’t support better standards).
My old Bluetooth speaker and a Jabra Evolve 65 don't activate this settings, so it depends on the Bluetooth version and supported audio formats?
Yes I can confirm that, same here.
Click to expand...
Click to collapse
You can only initiate the changes for HD codecs when the bluetooth device is connected. Example, With Sony linkbuds S, I can select LDAC Or AptX. Once configured, the codec activates every time you connect the BT device.

[A5 2017] LDAC Bluetooth with unsupported headphones??

My A5 (2017) is running on magisk rooted stock android 8.
I've been messing around trying to get better audio from this phone, and have found a method to... at very least make it look like I'm using LDAC.. at best actually use it.
I'm unsure if I truly am using LDAC, or if there is any difference to the audio quality at all.
(im the master of the placebo effect )
I use SetEdit w/ Feature Pack to keep a few Global settings set to 1 (true) . After a certain event involving the headphone, or a random amount of time (idk) the "_supports_ldac" settings I've changed go back to 0 (false). SetEdit keeps my changes persistent.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sidenote, this little tweak FEELS like it has an effect on the audio.
& I can do something similar with my A51 (non-rooted, One UI 4.1) & the UHQ upscaling/bit ajustment built into the settings that is usually grey-ed out.. and dedicated for wired devices?
also works with different audio devices.. like my Skull Candy Uproar, and cheap BlueHive earbuds (035-7309-4)
Now thats all fine and dandy.. but......
but I cannot set the "Bluetooth Audio Codec" in dev settings to LDAC, when clicked it returns back to SBC. my only supported codec
same goes for sample rate, bit rate and sort of the LDAC Playback Quality. My A51 behaves the same.
I can change the playback quality from Best Effort, and it sticks.
But if I click the option, the selector is back to Best Effort... AND MY SELECTION of Optimized for Audio Quality still sticks. weird.
--------------------------------------------------------
Here is screenshots of the A51.
If I launch the android shortcut "com.sec.android.app.soundalive.activity.UHQUpscalerActivity" the page below opens, and I can freely change the settings and they stick as long as SetEdit is doing its thing.
I can't figure out how to access this page without launching the activity...
-----------------------------------------
To sum it all up, I have some nooby questions.
Am I actually getting LDAC & UHQ upscaling with unsupported devices?
Is there a way to test the truth of what I'm seeing and "hearing"?
Is this weirdly specific "hack" and my curiosity confusing enough? or am I insane?

Categories

Resources