[Android Software Development] gokart2:
[MENTION=4445176]guitardedhero[/MENTION]

I have been jumping back and forth between the QC effects, DAP and SONY. Everything else the same option wise. DAP sound-staging/surround effect is amazing IMO. Sony looses the surround effect, but is just as clear if not a tad clearer at all levels, with better bass....IMO. Is it possible to have the DAP QC effect and Sony QC effects together? I don't know much of anything about the audioeffects.conf, aside from it directing where the .so files are. I went through them, but wasn't sure the proper process of trying to combine them.

Also, I have been running the DTS.apk/dts-client module from 3.09 SwanSong. Seen in the Opus audioeffects.conf that DTS is in both the DAP and Sony conf files. But the APK isn't pushed/used/available in 0506 Opus? Was it made system wide and not needing the apk in the recent Opus's?

Setup's for better idea:

0506 Opus Core

QC effect: DAP or SONY

v4a 2.5.0.5 with audiophile x

Modules: am3d, arkamys, sony, dirac, dts-client from SwanSong

arisesound_setprop:

#!/system/bin/sh

#

# ARISE Sound Systemsâ„¢

#

# Magnum Opus

#

# arisesound_setprop

#

# www.arisesound.com

## Asusâ„¢ Zenfone 3 Ultra Audio ##

#

setprop media.stagefright.enable-player true

setprop media.stagefright.enable-http true

setprop media.stagefright.enable-aac true

setprop media.stagefright.enable-qcp true

setprop media.stagefright.enable-scan true

setprop mm.enable.smoothstreaming true

setprop mmp.enable.3g2 true

setprop media.aac_51_output_enabled true

setprop audio.offload.track.enable false

setprop audio.deep_buffer.media true

setprop audio.offload.gapless.enabled true

setprop audio.offload.multiple.enabled false

setprop audio.safx.pbe.enabled true

setprop audio.pp.asphere.enabled false

setprop audio.offload.pcm.16bit.enable true

setprop audio.offload.pcm.24bit.enable true

setprop audio.dolby.ds2.enabled true

#

## Huaweiâ„¢ Multi-device Audio ##

#

setprop mm.enable.qcom_parser 1048575

setprop audio.parser.ip.buffer.size 262144

setprop ro.config.hw_music_lp true

setprop ro.config.hw_dts true

setprop ro.config.hw_sws true

setprop ro.config.sws_version sws3

setprop ro.config.swsAlwaysActiveForSPK true

setprop ro.config.hw_dts_settings true

setprop ro.config.hw_media_flags 3

setprop ro.config.hpx_support true

setprop ro.config.hw_dolby true

setprop ro.config.hw_audio_plus true

setprop audio.musicfx.bassboost.max 500

setprop audio.musicfx.virtualizer.max 500

setprop audio.high.resolution.enable true

setprop use.qti.sw.alac.decoder true

setprop use.qti.sw.ape.decoder true

setprop flac.sw.decoder.16bit.support true

setprop flac.sw.decoder.24bit.support true

#

## Vivoâ„¢ DTSâ„¢ Audio ##

#

setprop ro.config.hifi_config_state 2

setprop persist.vivo.phone.hifi Have_hifi

setprop ro.config.hifi_always_on yes

setprop use.dts_m6 true

setprop use.dts_m6_notify true

setprop use.dts_eagle true

#

## Oppoâ„¢ F1S Diracâ„¢ Power Sound ##

#

setprop ro.dirac.max_active.powersound 3

setprop ro.dirac.max_active.headset 5

setprop ro.dirac.poolsize 2

setprop ro.dirac.config 1

#

## LGâ„¢ G6 HiFi DAC Audio ##

#

#setprop audio.hifi_rec.normal_gain 30

#setprop audio.hifi_rec.normal_lcf 75

#setprop audio.hifi_rec.normal_lmt -3

#setprop audio.hifi_rec.concert_gain -150

#setprop audio.hifi_rec.concert_lcf 0

#setprop audio.hifi_rec.concert_lmt 0

#setprop audio.hifi_rec.offset_gain 37

#

## Xiaomiâ„¢ Mi Max HiFi Audio ##

#

#setprop ro.audio.hifi true

#setprop persist.audio.hifi true

#

## ViPER4Ariseâ„¢ Audio ##

#

setprop tunnel.decode false

setprop lpa.decode false

setprop lpa.use-stagefright false

#

#Auro

setprop AUROBUILD_ENABLED yes

setprop ro.mtk_audenh_support 1

setprop ro.mtk_bessurround_support 1

setprop ro.mtk_bt_support 1

#

## Miscellaneous Audio ##

#

#Hi-Res option for PowerAmp

setprop ro.lenovo.hifi_support true

#setprop ro.zte.audio.hifitype dual

setprop persist.bt.a2dp.aptx_disable false

setprop persist.bt.a2dp.aptx_hd_disable false

#

exit 0

sony_setprop:

#!/system/bin/sh

#

# ARISE Sound Systemsâ„¢

#

# sony_setprop

#

# www.arisesound.com

## Sonyâ„¢ Xperia XZ Audio ##

#

# SONY effect

# Allocate bit for each effect.

# If necessary, define effect list with logical sum.

# EFFECT_DN 0x0001 (Dynamic Normalizer)

# EFFECT_SF 0x0002 (S-Force)

# EFFECT_CPHP 0x0004 (ClearPhase Headphone)

# EFFECT_CA 0x0008 (ClearAudio)

# EFFECT_VPT 0x0010 (VPT)

# EFFECT_CPSP 0x0020 (ClearPhase Speaker)

# EFFECT_XLOUD 0x0040 (xLOUD)

# EFFECT_CAPLUS 0x0080 (ClearAudio+)

# EFFECT_SPBUNDLE 0x0100 (Speaker Bundle)

# EFFECT_ALC 0x0200 (ALC)

# Effect used by Speaker Bundle.

# EFFECT_SF | EFFECT_CPSP | EFFECT_SPBUNDLE = 0x122

setprop sony.effect.custom.sp_bundle 0x122

# Effect used by ClearAudio+ headset

# EFFECT_CA | EFFECT_VPT | EFFECT_CAPLUS | EFFECT_ALC = 0x298

setprop sony.effect.custom.caplus_hs 0x298

# Effect used by ClearAudio+ speaker

# EFFECT_CA | EFFECT_VPT | EFFECT_CPSP | EFFECT_CAPLUS | EFFECT_ALC = 0x2B8

setprop sony.effect.custom.caplus_sp 0x2B8

# Added system property for LDAC

setprop ro.somc.ldac.audio.supported true

# Automatic Headphone Compensation (AHC)

setprop sony.ahc.supported yes

#

# Sony Audio & Resampling

setprop mpq.audio.decode true

setprop sony.support.effect 0x1FF

setprop ro.semc.sound_effects_enabled true

setprop ro.semc.xloud.supported true

setprop persist.service.xloud.enable 1

setprop ro.semc.enhance.supported true

setprop persist.service.enhance.enable 1

setprop ro.semc.clearaudio.supported true

setprop persist.service.clearaudio.enable 1

setprop ro.sony.walkman.logger 1

setprop persist.service.walkman.enable 1

setprop ro.semc.clearphase.supported true

setprop persist.service.clearphase.enable 1

setprop persist.service.enhance.enable 1

setprop ro.somc.sforce.supported true

setprop persist.service.sforce.enable 1

setprop persist.service.dseehx.enable 1

setprop com.sonymobile.dseehx_enabled true

setprop com.sonyericsson.xloud_enabled true

setprop ro.semc.xloud.default_setting true

setprop com.sonymobile.clearphase_enabled true

setprop ro.semc.cp.default_setting true

setprop com.sonymobile.sforce_enabled true

setprop ro.semc.sfs.default_setting true

Removed apks: dlna-somc-xxhdpi-release, GoogleLyricsPlugin, SoundEnhancement, UnsupportedHeadsetNotifier, WikipediaPlugin, YouTubeKaraokePlugin, YouTubePlugin, SemcMusic, SomcPodcast, TrackID.

Then installed: dax_lepro3_v2.4.zip

Edit: I see whats going on with the audioeffects.conf. If I could figure out which path is the DAP surround effect, and replace the Sony related effect with it.......

Think I found a typo in the QC audioeffects.conf's:

# IQOO Electronics Technology Corp., Ltd | www.35.com

srs {

path /system/lib/soundfx/vivo/libsrs.so

}

Sony correct location

------VS------

# IQOO Electronics Technology Corp., Ltd | www.35.com

srs {

path /system/lib/soundfx/deuteronomy/libsrs.so

}

Dolby incorrect location

---------- Post added at 08:36 PM ---------- Previous post was at 08:27 PM ----------

Should have deleted: OppoDirac.apk and DiracAudioControlService.apk in /system/app