[Android Software Development] smartpr1v4t3:
After one day using the mod i realize i have sound dissortion in games.

Musik runs fine.

After installing Atmos the dissortion is there, disabling Atmos doesnt help, but after disabling with Magisk the sound is back to normal and clear.

[MENTION=4445176]guitardedhero[/MENTION] can i provide any logs to help?

Edit:

Log from dumpsys will try to get the other things from first post^^

3C Toolbox Pro (terminal)

========================

=======================

su -c dumpsys media.audio_flinger

=======================

Libraries NOT loaded:

Libraries loaded:

Library volume_listener

path: /vendor/lib/soundfx/libvolumelistener.so

Volume listener for notification / Qualcomm Technologies Inc

UUID: 0b776dde-0590-11e5-81ba-0025b32654a0

TYPE: 0b776dde-0590-11e5-81ba-0025b32654a0

apiVersion: 00020000

flags: 00C00280

Volume listener for voice call / Qualcomm Technologies Inc

UUID: 0ace5c08-0590-11e5-ae9e-0025b32654a0

TYPE: 0ace5c08-0590-11e5-ae9e-0025b32654a0

apiVersion: 00020000

flags: 00C00280

Volume listener for alarm / Qualcomm Technologies Inc

UUID: 09f303e2-0590-11e5-8fdb-0025b32654a0

TYPE: 09f303e2-0590-11e5-8fdb-0025b32654a0

apiVersion: 00020000

flags: 00C00280

Volume listener for ring / Qualcomm Technologies Inc

UUID: 0956df94-0590-11e5-bdbe-0025b32654a0

TYPE: 0956df94-0590-11e5-bdbe-0025b32654a0

apiVersion: 00020000

flags: 00C00280

Library audio_pre_processing

path: /vendor/lib/soundfx/libqcomvoiceprocessing.so

Noise Suppression / Qualcomm Fluence

UUID: 1d97bb0b-9e2f-4403-9ae3-58c2554306f8

TYPE: 58b4b260-8e06-11e0-aa8e-0002a5d5c51b

apiVersion: 00020000

flags: 00420203

Acoustic Echo Canceler / Qualcomm Fluence

UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109

TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b

apiVersion: 00020000

flags: 00420203

Library offload_bundle

path: /vendor/lib/soundfx/libqcompostprocbundle.so

(no effects)

Library proxy

path: /vendor/lib/soundfx/libeffectproxy.so

Visualizer / The Android Open Source Project

UUID: 1d0a1a53-7d5d-48f2-8e71-27fbd10d842c

TYPE: e46b26a0-dddd-11db-8afd-0002a5d5c51b

apiVersion: 00020000

flags: 00400008

Qualcomm Technologies Insert Preset Reverb / Qualcomm Technologies, Inc.

UUID: f3e178d2-ebcb-408e-8357-0002a5d5c51b

TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b

apiVersion: 00020000

flags: 00400048

Qualcomm Technologies Auxiliary Preset Reverb / Qualcomm Technologies, Inc.

UUID: 1b78f587-6d1c-422e-8b84-0002a5d5c51b

TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b

apiVersion: 00020000

flags: 00400001

Qualcomm Technologies Insert Environmental Reverb / Qualcomm Technologies, Inc.

UUID: b707403a-a1c1-4291-9573-0002a5d5c51b

TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e

apiVersion: 00020000

flags: 00400048

Qualcomm Technologies Auxiliary Environmental Reverb / Qualcomm Technologies, Inc.

UUID: 48404ac9-d202-4ccc-bf84-0002a5d5c51b

TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e

apiVersion: 00020000

flags: 00400001

Equalizer / NXP Software Ltd.

UUID: c8e70ecd-48ca-456e-8a4f-0002a5d5c51b

TYPE: 0bed4300-ddd6-11db-8f34-0002a5d5c51b

apiVersion: 00020000

flags: 00400048

Qualcomm Technologies Virtualizer / Qualcomm Technologies, Inc.

UUID: d3467faa-acc7-4d34-acaf-0002a5d5c51b

TYPE: 37cc2c00-dddd-11db-8577-0002a5d5c51b

apiVersion: 00020000

flags: 00400250

Qualcomm Technologies Bass Boost / Qualcomm Technologies, Inc.

UUID: 14804144-a5ee-4d24-aa88-0002a5d5c51b

TYPE: 0634f220-ddd4-11db-a0fc-0002a5d5c51b

apiVersion: 00020000

flags: 00400250

Library loudness_enhancer

path: /vendor/lib/soundfx/libldnhncr.so

Loudness Enhancer / The Android Open Source Project

UUID: fa415329-2034-4bea-b5dc-5b381c8d1e2c

TYPE: fe3199be-aed0-413f-87bb-11260eb63cf1

apiVersion: 00020000

flags: 00000008

Library downmix

path: /vendor/lib/soundfx/libdownmix.so

Multichannel Downmix To Stereo / The Android Open Source Project

UUID: 93f04452-e4fe-41cc-91f9-e475b6d1d69f

TYPE: 381e49cc-a858-4aa2-87f6-e8388e7601b2

apiVersion: 00020000

flags: 00000008

Library visualizer_hw

path: /vendor/lib/soundfx/libqcomvisualizer.so

(no effects)

Library visualizer_sw

path: /vendor/lib/soundfx/libvisualizer.so

(no effects)

Library qcreverb

path: /vendor/lib/soundfx/libqcreverb.so

(no effects)

Library qcvirt

path: /vendor/lib/soundfx/libqcvirt.so

(no effects)

Library qcbassboost

path: /vendor/lib/soundfx/libqcbassboost.so

(no effects)

Library reverb

path:

/vendor/lib/soundfx/libreverbwrapper.so

(no effects)

Library bundle

path: /vendor/lib/soundfx/libbundlewrapper.so

Volume / NXP Software Ltd.

UUID: 119341a0-8469-11df-81f9-0002a5d5c51b

TYPE: 09e8ede0-ddde-11db-b4f6-0002a5d5c51b

apiVersion: 00020000

flags: 00000050

Library v4a_fx

path: /vendor/lib/soundfx/libv4a_fx_ics.so

ViPER4Android [2.5.0.4] / ViPER.WYF

UUID: 41d3c987-e6cf-11e3-a88a-11aba5d5c51b

TYPE: ee48cf24-9221-4095-2cb9-40faa133111b

apiVersion: 00020000

flags: 0000F010

Library vlldp

path: /vendor/lib/soundfx/libswvlldp.so

DAP VLLDP / Dolby Laboratories, Inc.

UUID: 3783c334-d3a0-4d13-874f-0032e5fb80e2

TYPE: 12ea851f-0e12-4bde-a5e5-71f5651e9f96

apiVersion: 00020000

flags: 00040288

Library atmos

path: /vendor/lib/soundfx/libatmos.so

DAP CPDP / Dolby Laboratories, Inc.

UUID: 9d4921da-8225-4f29-aefa-aacb40a73593

TYPE: 46d279d9-9be7-453d-9d7c-ef937f675587

apiVersion: 00020000

flags: 00040288

Clients:

pid: 5637

pid: 5780

pid: 6857

pid: 6863

Notification Clients:

pid: 4496

pid: 4659

pid: 5637

pid: 5750

pid: 5780

pid: 6857

pid: 6863

pid: 6887

pid: 7156

pid: 8176

Global session refs:

session pid count

9 5780 1

17 6857 1

33 8176 1

49 5780 1

49 4496 1

Hardware status: 0

Standby Time mSec: 3000

Output thread 0xe3303fc0, name AudioOut_D, tid 5652, type 0 (MIXER):

I/O handle: 13

Standby: yes

Sample rate: 48000 Hz

HAL frame count: 192

HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)

HAL buffer size: 768 bytes

Channel count: 2

Channel mask: 0x00000003 (front-left, front-right)

Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT)

Processing frame size: 8 bytes

Pending config events: none

Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

Input device: 0 (AUDIO_DEVICE_NONE)

Audio source: 0 (default)

Normal frame count: 960

Last write occurred (msecs): 78682

Total writes: 361

Delayed writes: 0

Blocked in write: no

Suspend count: 0

Sink buffer : 0xe35ae000

Mixer buffer: 0xe42d1000

Effect buffer: 0xe428a000

Fast track availMask=0xfe

Standby delay ns=3000000000

AudioStreamOut: 0xe4297d00 flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST)

Frames written: 346560

Suspended frames: 0

PipeSink frames written: 346560

Hal stream dump:

Thread throttle time (msecs): 0

AudioMixer tracks: 0x00000003

Master mono: off

FastMixer thread 0xe3283840 tid=5651 FastMixer command=COLD_IDLE writeSequence=3624 framesWritten=347904

numTracks=1 writeErrors=0 underruns=38 overruns=24

sampleRate=48000 frameCount=192 measuredWarmup=11.4 ms, warmupCycles=5

mixPeriod=4.00 ms

Simple moving statistics over last 4.1 seconds:

wall clock time in ms per mix cycle:

mean=4.00 min=0.14 max=12.80 stddev=0.37

raw CPU load in us per mix cycle:

mean=268 min=0 max=535 stddev=96

Distribution of mix cycle times in ms for the tails (> ~3 stddev outliers):

left tail: mean=0.14 min=0.14 max=0.14 stddev=nan

right tail: mean=12.80 min=12.80 max=12.80 stddev=nan

Fast tracks: sMaxFastTracks=8 activeMask=0x1

Index Active Full Partial Empty Recent Ready Written

0 yes 776 0 0 full 1152 345408

1 no 0 0 0 full 0 0

2 no 0 0 0 full 0 0

3 no 0 0 0 full 0 0

4 no 0 0 0 full 0 0

5 no 0 0 0 full 0 0

6 no 0 0 0 full 0 0

7 no 0 0 0 full 0 0

Stream volumes in dB: 0:-24, 1:-6, 2:-inf, 3:-inf, 4:-inf, 5:0, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0

Normal mixer raw underrun counters: partial=0 empty=0

2 Tracks of which 0 are active

Name Active Client Type Fmt Chn mask Session fCount S F SRate L dB R dB VS dB Server Main buf Aux buf Flags UndFrmCnt Flushed

0 no

5780 1 00000001 00000003 9 8329 S 1 44100 -inf -inf 0 00002089 E35AE000 00000000 0x600 0 0

1 no 5780 5 00000001 00000003 49 22050 S 1 44100 0 0 0 0000B7AC E35AE000 00000000 0x601 886 0

1 Effect Chains

2 effects for session 0

In buffer Out buffer Active tracks:

0xe428a000 -> 0xe681b000 0xe681b000 -> 0xe428a000 0

Effect ID 11:

Session Status State Engine:

00000 000 003 0xe42a0470

Descriptor:

- UUID: 3783C334-D3A0-4D13-874F-0032E5FB80E2

- TYPE: 12EA851F-0E12-4BDE-A5E5-71F5651E9F96

- apiVersion: 00000005

- flags: 00040288 (conn. mode: insert, insert pref: first, volume mgmt: requires indication, device indication: requires updates, input mode: not set, output mode: not set, mode indication: required)

- name: DAP VLLDP

- implementor: Dolby Laboratories, Inc.

- Input configuration:

Frames Smp rate Channels Format Buffer

00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT) 0xe681b000

- Output configuration:

Buffer Frames Smp rate Channels Format

0xe681b000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)

1 Clients:

Pid Priority Ctrl Locked client server

5637 0 yes yes 0 0

Effect ID 27:

Session Status State Engine:

00000 000 000 0xe39421e0

Descriptor:

- UUID: 41D3C987-E6CF-11E3-A88A-11ABA5D5C51B

- TYPE: EE48CF24-9221-4095-2CB9-40FAA133111B

- apiVersion: E237DC3C

- flags: 0000F010 (conn. mode: insert, insert pref: last, volume mgmt: none, input mode: direct+provider, output mode: direct+provider)

- name: ViPER4Android [2.5.0.4]

- implementor: ViPER.WYF

- Input configuration:

Frames Smp rate Channels Format Buffer

00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT) 0xe681b000

- Output configuration:

Buffer Frames Smp rate Channels Format

0xe681b000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)

1 Clients:

Pid Priority Ctrl Locked client server

6863 0 yes yes 0 0

Local log:

03-18 13:24:04.991 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

03-18 13:24:19.916 addTrack_l (0xe23a8000) 0 no 5780 1 00000001 00000003 9 8329 A 2 44100 -6 -6 0 00000000 E35AE000 00000000 0x000 0 0

03-18 13:24:20.305 removeTracks_l(0xe23a8000) 0 no 5780 1 00000001 00000003 9 8329 S 1 44100 -inf -inf 0 00002089 E35AE000 00000000 0x600 0 0

03-18 13:24:23.232 threadLoop_standby: framesWritten:150720 suspendedFrames:0 monoPipeWritten:150720 monoPipeLeft:960

03-18 13:24:23.232 threadLoop_standby: BOOTTIME offset 0

ExtendedTimestamp[0] position: 0 time: -1

ExtendedTimestamp[1] position: 150720 time: 118154868476

ExtendedTimestamp[2] position: 148560 time: 118173263357

ExtendedTimestamp[3] position: 150720 time: 118154868476

ExtendedTimestamp[4] position: 147984 time: 118161292573

03-18 13:28:29.556 addTrack_l (0xe2b8b200) 1 no 5780 5 00000001 00000003 49 22050 A 1 44100 0 0 0 00000000 E686B000 00000000 0x000 0 0

03-18 13:28:30.781 removeTracks_l(0xe2b8b200) 1 no 5780 5 00000001 00000003 49 22050 S 1 44100 0 0 0 0000B7AC E686B000 00000000 0x601 886 0

03-18 13:28:33.710 threadLoop_standby: framesWritten:346560 suspendedFrames:0 monoPipeWritten:346560 monoPipeLeft:960

03-18 13:28:33.710 threadLoop_standby: BOOTTIME offset 0

ExtendedTimestamp[0] position: 0 time: -1

ExtendedTimestamp[1] position: 346560 time: 368632831934

ExtendedTimestamp[2] position: 344400 time: 368648410585

ExtendedTimestamp[3] position: 346560 time: 368632831934

ExtendedTimestamp[4] position: 344016 time: 368640432841

Output thread 0xe3003700, name AudioOut_1D, tid 5654, type 0 (MIXER):

I/O handle: 29

Standby: yes

Sample rate: 48000 Hz

HAL frame count: 1920

HAL format: 0x1 (AUD

IO_FORMAT_PCM_16_BIT)

HAL buffer size: 7680 bytes

Channel count: 2

Channel mask: 0x00000003 (front-left, front-right)

Processing format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)

Processing frame size: 4 bytes

Pending config events: none

Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

Input device: 0 (AUDIO_DEVICE_NONE)

Audio source: 0 (default)

Normal frame count: 1920

Last write occurred (msecs): 319874

Total writes: 101

Delayed writes: 0

Blocked in write: no

Suspend count: 0

Sink buffer : 0xe35a3000

Mixer buffer: 0xe35bf000

Effect buffer: 0xe42d4000

Fast track availMask=0xfe

Standby delay ns=3000000000

AudioStreamOut: 0xe4297dc0 flags 0x8 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)

Frames written: 193920

Suspended frames: 0

Hal stream dump:

Thread throttle time (msecs): 35

AudioMixer tracks: 0x00000000

Master mono: off

No FastMixer

Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-17, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0

Normal mixer raw underrun counters: partial=0 empty=0

0 Tracks

0 Effect Chains

Local log:

03-18 13:24:04.997 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

03-18 13:24:28.496 addTrack_l (0xe2b8a600) 0 no 4659 3 00000001 00000001 25 648 A 1 8000 0 0 0 00000000 E6828000 00000000 0x000 0 0

03-18 13:24:30.490 removeTracks_l(0xe2b8a600) 0 no 4659 3 00000001 00000001 25 648 A 3 8000 0 0 0 00001F40 E6828000 00000000 0x009 16848 0

03-18 13:24:30.602 removeTrack_l (0xe2b8a600) 0 no 4659 3 00000001 00000001 25 648 T 1 8000 0 0 0 00001F40 E35A3000 00000000 0x209 16848 0

Output thread 0xe2e83700, name AudioOut_25, tid 5657, type 0 (MIXER):

I/O handle: 37

Standby: yes

Sample rate: 48000 Hz

HAL frame count: 768

HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)

HAL buffer size: 3072 bytes

Channel count: 2

Channel mask: 0x00000003 (front-left, front-right)

Processing format: 0x5 (AUDIO_FORMAT_PCM_FLOAT)

Processing frame size: 8 bytes

Pending config events: none

Output device: 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)

Input device: 0 (AUDIO_DEVICE_NONE)

Audio source: 0 (default)

Normal frame count: 1152

Last write occurred (msecs): 447319

Total writes: 0

Delayed writes: 0

Blocked in write: no

Suspend count: 0

Sink buffer : 0xe42f1800

Mixer buffer: 0xe42ef000

Effect buffer: 0xe32dc400

Fast track availMask=0xfe

Standby delay ns=3000000000

AudioStreamOut: 0xe4297f20 flags 0 (AUDIO_OUTPUT_FLAG_NONE)

Frames written: 0

Suspended frames: 0

PipeSink frames written: 0

Hal stream dump:

Thread throttle time (msecs): 0

AudioMixer tracks: 0x00000000

Master mono: off

FastMixer thread 0xe2e031c0 tid=5656 FastMixer command=COLD_IDLE writeSequence=0 framesWritten=0

numTracks=0 writeErrors=0 underruns=0 overruns=0

sampleRate=0 frameCount=0 measuredWarmup=0 ms, warmupCycles=0

mixPeriod=nan ms

No FastMixer statistics available currently

Fast tracks: sMaxFastTracks=8 activeMask=0

Index Active Full Partial Empty Recent Ready Written

0 no 0 0 0 full 0 0

1 no 0 0 0 full 0 0

2 no 0 0 0 full 0 0

3 no 0 0 0 full 0 0

4 no 0 0 0 full 0 0

5 no 0 0 0 full 0 0

6 no 0 0 0 full 0 0

7 no 0 0 0 full 0 0

Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:0, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0

Normal mixer raw underrun counters: partial=0 empty=0

0 Tracks

0 Effect Chains

Local log:

03-18 13:24:05.001 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_

TX)

Input thread 0xe1d032c0, name AudioIn_36, tid 7630, type 3 (RECORD):

I/O handle: 54

Standby: no

Sample rate: 16000 Hz

HAL frame count: 320

HAL format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)

HAL buffer size: 640 bytes

Channel count: 1

Channel mask: 0x00000010 (front)

Processing format: 0x1 (AUDIO_FORMAT_PCM_16_BIT)

Processing frame size: 2 bytes

Pending config events: none

Output device: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)

Input device: 0x80000004 (AUDIO_DEVICE_IN_BUILTIN_MIC)

Audio source: 6 (voice recognition)

AudioStreamIn: 0xe39454c0 flags 0 (AUDIO_INPUT_FLAG_NONE)

Fast capture thread: no

Fast track available: no

FastCapture not initialized

1 Tracks of which 1 are active

Active Client Fmt Chn mask Session S Server fCount SRate

yes 6857 1 00000010 17 6 004FB3C0 128000 16000

0 Effect Chains

USB audio module:

No output streams.

No input streams.

Reroute submix audio module:

route[0] rate in=0 out=0, addr=[]

route[1] rate in=0 out=0, addr=[]

route[2] rate in=0 out=0, addr=[]

route[3] rate in=0 out=0, addr=[]

route[4] rate in=0 out=0, addr=[]

route[5] rate in=0 out=0, addr=[]

route[6] rate in=0 out=0, addr=[]

route[7] rate in=0 out=0, addr=[]

route[8] rate in=0 out=0, addr=[]

route[9] rate in=48000 out=48000, addr=[]