Jump to content

Android mixer still kicks in and downsamples Hi-res to 16bit/48000khz on Redmagic 7


hedehede81

Recommended Posts

Hello,

I have a Redmagic 7 phone and use a wired headset. I try to push 32bit/384000khz to it (or any Hi-res for that matter) but it always downsamples to 16bit/48000khz.

Here is a screenshot of Audio detection log, a screenshot of playing screen and a log of media.audio_flinger.

At the bottom of the log, there are inactive threads (Standby = yes) with  Sample rate: 384000 Hz and AUDIO_FORMAT_PCM_32_BIT but the active thread is Sample rate: 48000 Hz and AUDIO_FORMAT_PCM_16_BIT.

I tried several bit and sample rates but Always the mixer kicks in and downsamples to 16bit/48000khz.

01.jpg

02.jpg

log.txt

Link to comment
Share on other sites

1 hour ago, andrewilley said:

Max will probably be able to say more about your specific device, but make sure you have turned off any extra audio processing on your device - stuff that has been pre-installed by the manufacturer, such as Dolby Atmos etc.

Andre

Thank you for your reply, yes, I forgot to mention that I've already turned off Dolby (DTS-X) in System Settings/Audio

Link to comment
Share on other sites

11 hours ago, andrewilley said:

Also try resetting the Settings=>Audio=>Outputs menu to default settings and then select high-res again. Or try one of the other Output options (you probably won't get full 384kHz/32-bit that way, but is there any real point in that anyway?)

Andre

I tried this and it didn't work. The best I could get was when the music is off, output is at 32/384 but as soon as I hit play it switches to 16/48.

Link to comment
Share on other sites

  • 2 weeks later...

Since I couldn't get hires output from wired headphones, I bought an LDAC Headphone just so I could get some hires output, but something funky is still going on. The audio chain (like in the attached screenshot) stays 96khz 32 bit until last step. But at Output stage, it first downsamples to 48 khz 16 bit then upsamples to 96khz 32bit. What is going on here, any ideas?

01.jpg

Link to comment
Share on other sites

  • 4 weeks later...
On 12/21/2022 at 11:14 AM, hedehede81 said:

Since I couldn't get hires output from wired headphones, I bought an LDAC Headphone just so I could get some hires output, but something funky is still going on. The audio chain (like in the attached screenshot) stays 96khz 32 bit until last step. But at Output stage, it first downsamples to 48 khz 16 bit then upsamples to 96khz 32bit. What is going on here, any ideas?

01.jpg

Almost the same situation happened to me. Have you recently updated to android 13 perchance?
On my Realme gt neo 3t afrer updating from A12 to A13 something broke in audio path. Same last 3 steps as yours -  96-48-96.
Seems like something android\vendor related.
 

Screenshot_2023-01-18-11-20-56-81_345bb2134bfb84a7decceb0b36861421.jpg

Screenshot_2023-01-18-11-21-06-18_345bb2134bfb84a7decceb0b36861421.jpg

Screenshot_2023-01-20-11-05-49-99_345bb2134bfb84a7decceb0b36861421.jpg

Link to comment
Share on other sites

@Q1253dh @hedehede81 You may want to adjust your sample rate to avoid useless resampling for now. 

Many OEMs “forget” to include proper hi-res support into major updates, but usually rectify the problem in the following (security) updates. This is almost always the case with Xiaomi, which Android 13 hi-res became stable only recently.

Successfully now Poweramp detects and displays the issue, while previously those resamplings flew under radar.

Link to comment
Share on other sites

  • 1 month later...

I wanted to add an update to the people with problems list. 

I am on a Red magic 8 pro and I've disabled DTS on the headphone output just in case it magically went on during Bluetooth playback. But no dice.

I've also noticed despite it having a flagship Qualcomm BT chip, aptx adaptive and HD seems to be locked to 48khz. Only LDAC allows 96khz but as per what Poweramp shows it has that suspect middle step. 

 

It kind of annoys me how dumb android audio is. It's always been bad and there is never any way to fix it or modify the system without root. Speaking of, since root has been solved on this phone, is there any good solution to audio woes, maybe even completely bypass the android mixer?

Link to comment
Share on other sites

@RitzyBusiness currently, only LDAC and LDHC codecs support sample rates above 48khz, and it really hi-res whenwhen BT device (headset, receiver like BTR3) is very close to the phone (10-20cm). Though humans can't hear that - this can be only measured with some sort of spectrum analyzer.

You can hear aptx or ldac even 48khz vs SBC codec though, as SBC codes usually configured to be "safe" and have noticeable lower quality (the codec itself is capable of higher quality).

BTW "Android mixer" is not something bad. It works on any sample rate we command it (8khz - 384khz in recent Androids) and with many sample formats (8-16-24-32bits). Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...