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

Equalizer app become incompatible or unusable with the module. #2

Closed Waylander05 closed 2 years ago

Waylander05 commented 2 years ago

I tested this on Wavelet and neutralizer. Also generic volume booster app straight up crashes.

yzyhk904 commented 2 years ago

Did you read the README of this module? "Disabling the effects framework" is clearly described. AudioFlinger (the OS mixer) don't load any effects configuration (e.g., /vendor/etc/audio_effects.xml). So you cannot use any equalizer, virtualizer and visualizer (except Poweramp equalizer) when enabling this module.

This is because an effects chain in the mixer generates jitter that injects very short reverb like distortion in a digital audio output.

Waylander05 commented 2 years ago

My bad, I did read it. But I didn't know that the disabling the effects part means it disabling audio tweaks. I used the module and still felt there's some distortion on badly mixed songs. Is it possible this module conflict with other audio mods like ainur narsil and acp?

yzyhk904 commented 2 years ago

Did you disable the battery manager and app's battery optimization or restriction of battery usage described in the README? In my opinion, there is no use for audio effectors when disabling battery optimizations.

Anyway, you can enable the effects framework by "extras/jitter-reducer.sh" in USB_SampleRate_Changer. Execute sh /sdcard/USB_SampleRate_Changer/extras/jitter-reducer.sh ++effect when you need.