Magisk-Modules-Alt-Repo / audio-misc-settings

A Magisk module for setting miscellaneous audio configuration values (media audio volume steps (100 steps), raising the resampling quality, disabling the effects framework, etc.)
GNU Affero General Public License v3.0
173 stars 12 forks source link

Do you recommend this module for external USB DAC? #6

Closed MirceaMx closed 2 years ago

MirceaMx commented 2 years ago

Do you recommend this (or other of your modules) module for DD HiFi TC35B 2021 (external DAC) ?

Sorry, there was no way to PM

yzyhk904 commented 2 years ago

I don't know this DAC, but entry class DAC's usually adopt an interface chip communicating with the adaptive mode or the synchronous one defined in the USB audio standard. As in these modes an Android host controller sends audio sampling rate clock signals to the DAC, the jitter generated at the host side affects the audio quality of the DAC tremendously.

Please follow the description of disabling battery optimizations in README.md. And also see "extras/jitter-reducer.sh" in USB_SampleRate_Changer.

MirceaMx commented 2 years ago

The adapter DAC is a Realtek ALC5686 well tuned IMO (not a noob) . As for the device I'm using is a Sony Xperia 5 II - Snapdragon 865 - Android 12 . Not using your module atm but cause I thought using an external DAC (own sound processing) there would be no need. When I did use it I modified the volume steps from 100 to 40. Hope you find this helpful. Thanks!

yzyhk904 commented 2 years ago

I think you aren't aware of audio equipment classes. The DAC must be using the adaptive mode or the synchronous one. You can see it by opening "/proc/asound/card1/stream0" on your phone while playing music. Please see a word in parentheses at "Endpoint:" lines; "SYNC", "ADAPTIVE" or "ASYNC" means that your DAC uses "synchronous", "adaptive" or "asynchronous" mode to communicate to your phone, respectively. The "asynchronous" mode is the best for audio use and usually adopted by more than $80 class DAC's.

Phones using SDM865 apply DRC (Dynamic Range Control, or shortly compression) on all audio outputs (including digital ones) and generate considerable jitter distorting digital audio outputs, especially for entry class DAC's as they are. And the phones usually resample audio output via the OS mixer to 48kHz & 24bits , so you probably need excellent resample quality provided by my module.

I think experienced audio users want a volume of 0.5dB per step at least.

MirceaMx commented 2 years ago

Thank you! Saving your post for future reference.

MirceaMx commented 2 years ago

Closed (I need to get a better DAC)