[Android Software Development] poisonofchoice:
Thanks, it worked.

---------- Post added at 08:52 PM ---------- Previous post was at 08:42 PM ----------

Could anyone please tell me if Saunor audio modifications are working?

Here's what I got after running the dumpsys command. I don't know how to interpret this data.

$ su -c dumpsys media.audio_flinger
Libraries NOT loaded:
Libraries loaded:
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: 00020203
Acoustic Echo Canceler / Qualcomm Fluence
UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b
apiVersion: 00020000
flags: 00020203
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
path: /vendor/lib/soundfx/libvisualizer.so
Visualizer / The Android Open Source Project
UUID: d069d9e0-8329-11df-9168-0002a5d5c51b
TYPE: e46b26a0-dddd-11db-8afd-0002a5d5c51b
apiVersion: 00020000
flags: 00000008
Library reverb
path: /vendor/lib/soundfx/libreverbwrapper.so
Insert Preset Reverb / NXP Software Ltd.
UUID: 172cdf00-a3bc-11df-a72f-0002a5d5c51b
TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b
apiVersion: 00020000
flags: 00000048
Auxiliary Preset Reverb / NXP Software Ltd.
UUID: f29a1400-a3bb-11df-8ddc-0002a5d5c51b
TYPE: 47382d60-ddd8-11db-bf3a-0002a5d5c51b
apiVersion: 00020000
flags: 00000001
Insert Environmental Reverb / NXP Software Ltd.
UUID: c7a511a0-a3bb-11df-860e-0002a5d5c51b
TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e
apiVersion: 00020000
flags: 00000048
Auxiliary Environmental Reverb / NXP Software Ltd.
UUID: 4a387fc0-8ab3-11df-8bad-0002a5d5c51b
TYPE: c2e5d5f0-94bd-4763-9cac-4e234d06839e
apiVersion: 00020000
flags: 00000001
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
Equalizer / NXP Software Ltd.
UUID: ce772f20-847d-11df-bb17-0002a5d5c51b
TYPE: 0bed4300-ddd6-11db-8f34-0002a5d5c51b
apiVersion: 00020000
flags: 00000048
Virtualizer / NXP Software Ltd.
UUID: 1d4033c0-8557-11df-9f2d-0002a5d5c51b
TYPE: 37cc2c00-dddd-11db-8577-0002a5d5c51b
apiVersion: 00020000
flags: 00000250
Dynamic Bass Boost / NXP Software Ltd.
UUID: 8631f300-72e2-11df-b57e-0002a5d5c51b
TYPE: 0634f220-ddd4-11db-a0fc-0002a5d5c51b
apiVersion: 00020000
flags: 00000248
Library mot_speaker_helper
path: /vendor/lib/soundfx/libspeakerbundle.so
Mot Speaker Helper: Notification / Motorola Mobility, LLC
UUID: bce61ec2-eca4-445c-9dcb-91cc7cce01ae
TYPE: 15823d06-dd4a-11db-ba77-0002a5d5c51b
apiVersion: 00020000
flags: 00000284
Mot Speaker Helper: Ring / Motorola Mobility, LLC
UUID: bce61ec2-eca4-445c-9dcb-91cc7cce01ad
TYPE: 94823d06-dd4a-11db-ba77-0002a5d5c51b
apiVersion: 00020000
flags: 00000284
Mot Speaker Helper: Voice / Motorola Mobility, LLC
UUID: bce61ec2-eca4-445c-9dcb-91cc7cce01ac
TYPE: 84823d06-dd4a-11db-ba77-0002a5d5c51b
apiVersion: 00020000
flags: 00000284
Library mmieffects
path: /vendor/lib/soundfx/libmmieffectswrapper.so
MMI Effects / Motorola Mobility
UUID: bce61ec2-eca4-445c-9dcb-91cc7cce01ba
TYPE: 74823d06-dd4a-11db-ba77-0002a5d5c51b
apiVersion: 00020000
flags: 00000210
Library proxy
path: /vendor/lib/soundfx/libeffectproxy.so
Mot Speaker Helper: Music / Motorola Mobility, LLC
UUID: 00905020-4e52-11e4-83aa-0002a5d5c51b
TYPE: 74823d06-dd4a-11db-ba77-0002a5d5c51b
apiVersion: 00020000
flags: 00400284
XML effect configuration failed to load.
Clients:
pid: 1348
pid: 4899
pid: 8558
pid: 9024
Notification Clients:
pid: 1348
pid: 1349
pid: 1362
pid: 1580
pid: 4899
pid: 5146
pid: 6047
pid: 6810
pid: 8558
pid: 9024
Global session refs:
session pid count
65 4899 1
105 8558 2
105 1362 1
105 1348 1
105 9024 1
Hardware status: 0
Standby Time mSec: 3000

Output thread 0xac083480, name AudioOut_D, tid 1878, 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: 0 (AUDIO_DEVICE_NONE)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 960
Last write occurred (msecs): 341587
Total writes: 159
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xad979000
Mixer buffer: 0xad977000
Effect buffer: 0xad90a000
Fast track availMask=0xfc
Standby delay ns=3000000000
AudioStreamOut: 0xad9347d8 flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST)
Frames written: 152640
Suspended frames: 0
PipeSink frames written: 152640
Hal stream dump:
Standby: yes
Frames written: 154368
Errors: 0
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000001
Master mono: off
FastMixer thread 0xac00c200 tid=1877 FastMixer command=COLD_IDLE writeSequence=1608 framesWritten=154368
numTracks=1 writeErrors=0 underruns=0 overruns=0
sampleRate=48000 frameCount=192 measuredWarmup=211 ms, warmupCycles=6
mixPeriod=4.00 ms
Simple moving statistics over last 3.2 seconds:
wall clock time in ms per mix cycle:
mean=4.00 min=3.48 max=4.57 stddev=0.09
raw CPU load in us per mix cycle:
mean=177 min=0 max=533 stddev=55
Fast tracks: sMaxFastTracks=8 activeMask=0x1
Index Active Full Partial Empty Recent Ready Written
0 yes 791 0 7 full 960 151680
1 no 47 1 5 empty 0 9065
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:0, 1:-25, 2:-6.4, 3:-17, 4:-12, 5:-9.5, 6:0, 7:-25, 8:-25, 9:0, 10:-17, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=7
1 Tracks of which 0 are active
T Name Active Client Session S Flags Format Chn mask SRate ST L dB R dB VS dB Server FrmCnt FrmRdy F Underruns Flushed Main Buf Aux Buf
FS 1 no 4899 65 S 0x601 00000001 00000003 48000 1 -inf -inf 0 00002369 9065 0 f 0 0 AD979000 00000000
0 Effect Chains
Local log:
07-21 12:08:29.660 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
07-21 12:09:12.820 AT::add (0xac27d000) FS 1 no 4899 65 A 0x000 00000001 00000003 48000 1 -6 -6 0 00000000 9065 9065 F 0 0 AD979000 00000000
07-21 12:09:13.265 AT::remove (0xac27d000) FS 1 no 4899 65 A 0x601 00000001 00000003 48000 1 -inf -inf 0 00002369 9065 0 F 0 0 AD979000 00000000
07-21 12:09:16.241 threadLoop_standby: framesWritten:152640 suspendedFrames:0 monoPipeWritten:152640 monoPipeLeft:768
07-21 12:09:16.241 threadLoop_standby: BOOTTIME offset 0
ExtendedTimestamp[0] position: 0 time: -1
ExtendedTimestamp[1] position: 152640 time: 156395109729
ExtendedTimestamp[2] position: 150672 time: 156412754156
ExtendedTimestamp[3] position: 152640 time: 156395109729
ExtendedTimestamp[4] position: 150096 time: 156400756344
07-21 12:10:24.370 CFG_EVENT_RELEASE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0 (AUDIO_DEVICE_NONE)

Output thread 0xabe83800, name AudioOut_15, tid 1879, type 0 (MIXER):
I/O handle: 21
Standby: no
Sample rate: 48000 Hz
HAL frame count: 1920
HAL format: 0x1 (AUDIO_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: 0x4 (AUDIO_DEVICE_OUT_WIRED_HEADSET)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1920
Last write occurred (msecs): 3
Total writes: 5908
Delayed writes: 0
Blocked in write: yes
Suspend count: 0
Sink buffer : 0xad97b000
Mixer buffer: 0xac07b000
Effect buffer: 0xad97d000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xad934810 flags 0x8 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
Frames written: 11343360
Suspended frames: 0
Hal stream dump:
Standby: no
Frames written: 11343360
Errors: 0
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000001
Master mono: off
No FastMixer
Stream volumes in dB: 0:-5.8, 1:-33, 2:-42, 3:-19, 4:-16, 5:-42, 6:0, 7:-40, 8:-27, 9:0, 10:-16, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
1 Tracks of which 1 are active
T Name Active Client Session S Flags Format Chn mask SRate ST L dB R dB VS dB Server FrmCnt FrmRdy F Underruns Flushed Main Buf Aux Buf
0 yes 8558 105 A 0x000 00000001 00000003 44100 3 0 0 0 009F05D0 22050 14994 A 0 0 AF2BA000 00000000
1 Effect Chains
2 effects for session 105
In buffer Out buffer Active tracks:
0xaf2ba000 0xaf2d1000 -> 0xad97d000 1
Effect ID 11:
Session Status State Engine:
00105 000 003 0xad9202f0
Descriptor:
- UUID: 00905020-4e52-11e4-83aa-0002a5d5c51b
- TYPE: 74823d06-dd4a-11db-ba77-0002a5d5c51b
- apiVersion: 00000001
- flags: 00400284 (conn. mode: postproc, insert pref: any, volume mgmt: requires indication, device indication: requires updates, input mode: not set, output mode: not set, offloadable)
- name: Mot Speaker Helper: Music
- implementor: Motorola Mobility, LLC
- Input configuration:
Frames Smp rate Channels Format Buffer
01920 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT) 0xaf2ba000
- Output configuration:
Buffer Frames Smp rate Channels Format
0xaf2ba000 01920 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
1 Clients:
Pid Priority Ctrl Locked client server
1348 0 yes yes 0 0
Effect ID 19:
Session Status State Engine:
00105 000 003 0xad9204d0
Descriptor:
- UUID: bce61ec2-eca4-445c-9dcb-91cc7cce01ba
- TYPE: 74823d06-dd4a-11db-ba77-0002a5d5c51b
- apiVersion: BE950C24
- flags: 00000210 (conn. mode: insert, insert pref: last, volume mgmt: none, device indication: requires updates, input mode: not set, output mode: not set)
- name: MMI Effects
- implementor: Motorola Mobility
- Input configuration:
Frames Smp rate Channels Format Buffer
01920 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT) 0xaf2ba000
- Output configuration:
Buffer Frames Smp rate Channels Format
0xaf2d1000 01920 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
1 Clients:
Pid Priority Ctrl Locked client server
9024 0 yes yes 0 0
Local log:
07-21 12:08:29.665 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
07-21 12:10:24.373 CFG_EVENT_RELEASE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0 (AUDIO_DEVICE_NONE)
07-21 12:11:00.642 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0 (AUDIO_DEVICE_NONE) new device 0x4 (AUDIO_DEVICE_OUT_WIRED_HEADSET)
07-21 12:11:00.679 AT::add (0xab8a0000) 0 no 8558 105 A 0x000 00000001 00000003 44100 3 0 0 0 00000000 22050 0 f 0 0 AF2BA000 00000000
07-21 12:14:55.248 removeTrack_l (0xab8a0c00) 1 no 8558 105 T 0x000 00000001 00000003 44100 3 0 0 0 00000000 22050 0 I 0 0 AF2BA000 00000000

Output thread 0xabd033c0, name AudioOut_1D, tid 1881, type 0 (MIXER):
I/O handle: 29
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: 0 (AUDIO_DEVICE_NONE)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1152
Last write occurred (msecs): 497987
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xabef7800
Mixer buffer: 0xabef5000
Effect buffer: 0xad964400
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xad934848 flags 0 (AUDIO_OUTPUT_FLAG_NONE)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Standby: yes
Frames written: 0
Errors: 0
Thread throttle time (msecs): 0
AudioMixer tracks: 0x00000000
Master mono: off
FastMixer thread 0xabc83100 tid=1880 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:0, 1:-25, 2:-6.4, 3:-17, 4:-12, 5:-9.5, 6:0, 7:-25, 8:-25, 9:0, 10:-17, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
07-21 12:08:29.671 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)
07-21 12:10:24.377 CFG_EVENT_RELEASE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0 (AUDIO_DEVICE_NONE)

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=[]
$