Any damages of hardware or software if happen, I'm not responsible. I'm using it with sound mods, all are still stable and fine. But you are warned!..
Also this thread and whole modifications are written by my personal experiences, all the features, testing and working things. Some info can be wrong. I'm still learning.
Updated: 11th January, 2019. Thread expired, update may come soon. Don't follow these for now.
Hi. I've been on personal sound modding for a while and made a few successful attempts. The most important thing I've done is this one. This 24 bit sounds incredible, until I've found the Ainur Sauron manual modifications, sounds even better. I'll give everything simply here.
Flashing and Instructions:
MIUI - View attachment 4645100
Others: I'll update soon.
Optional(confirmed by me fully):
Check this post - MIUI Sound Mod for the best ever sound experience in MIUI(with other mods). All have been tested by me.
Optional 2:
Flashing Ainur Sauron mod with few modifications (MIUI):
Extract and copy any(48khz is recommended) sauron_useroptions file from this zip - View attachment 4645096 in the root directory of your internal storage (not in any folder).
Install Ainur Sauron in magisk.
Details:
Ainur Sauron sound mod is different. You won't see any app or UI, but you will feel massive differences in sounds. As it's name driven from Sauron, the all seeing evil (you can't see him, he will see you). It has few great features which can be only enabled manually. I enabled these- qcom Audiosphere, Shoebox, and 24 bit(only changing here I didn't see changes in terminal too, so I still modified my files. But check by yourselves).
You can also check all of the options in sauron_useroptions and enable manually. Now I'm using 96khz(check MIUI mod), aptx, impadence of earphone(power output through the jack) too. I still haven't found mass differences in these, needs testing, but I think some of it's working.
I've found installing this with 24 bit enabled makes sound stable and more beautiful.
If you face any problems(may not applicable to post 13):
1. Uninstall all sound mods previously in magisk, reboot(?), install 24 bit, install Ainur Sauron (if you want), reboot(?), install your desired sound mod.
2. Getting 44100 hz sampling rate? Install viper4android later.
3. Make a clean install, without any other sound mod(for the best experience, if any sound mod interfering with these). The mods provided here, are working fine, if you didn't mess up with anything.
4. Don't remove or patch deep buffer. Also don't use audio compatibility patch. - I don't know much why sounds different.
Checking:
While playing a audio, check in this kind of paragraph in any terminal emulator saying - Standby as no.
Code:
su
dumpsys media.audio_flinger
Example 16 bit,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Example 24 bit,
If the HAL and processing format is pcm24, then it's perfectly working. If any music player uses directly 16 bit output in own state, this may not work. Tested with Sony music player, MX Player with video(no sw audio rendering), works fine. Also test gaming. Feel the sound too.
***I only increased default speaker and earphone/headset output. Bluetooth, cast, sink(?) etc may use 16 bit. No support from me now, there's a reason.
Every notes and details will be noticable, just keep listening quietly. You will find nothing missing in your music sound when you hear, if it works.
Try with full sound.
I didn't increase telephony output, not now. It will show as pcm16. Didn't try to increase the sampling rate, really unnecessary as in this way, but in Ainur Sauron, seems fine. Thought of 32 bit, but we, human can't understand difference between 24 and 32 bit audio.
Lastly few talks: Our phones speaker isn't made for 24 bit output, but it works fine, though has side effects, you will find out*. With earphone/headset, sound perfectly fine.
There will/may be incompatibity with any sound mod, but they will/may work fine, you will find out*.
The difference in overall sound is noticable a lot. There will be change in sound volume and range, you will find out*. It's really astonishing, where its the default output. It's real. You will find out*.
Also, headache issue because of hearing, it's also different. You will find out*.
*when you hear...
I've a hard schedule, I may update this thread with details later.
And lastly, you will feel the power of the sound your phone can produce.
Great work man!
*new update, MIUI only.
*new v3.
Changes: fixed little mistake done by me, v2.
fixed mistakes, v3.
fixed twrp flashing script, v4. This one seems stable, no update will be provided for a long time, MIUI.
notes added. check. my fault.
Thanks a lot!
A changed sample rate to 192000 in the 3 files, and it seems to work. Can you test it?
kennethstarr said:
Thanks a lot!
A changed sample rate to 192000 in the 3 files, and it seems to work. Can you test it?
Click to expand...
Click to collapse
Thanks, but no need to test by me. I know it's working, also the screenshot proves. I didn't increase it, as I've found 48khz is enough and good, also I've searched and checked sound wiki, and related while I was in modding. Still it struggles a little while playing 24 bit output.
I'll check and fix, and give other updates as optional as experimental for 96khz and 192khz(with your files, need few edits) sooner or later.
Can i flash on arrow os 9.0 with jaguar kernel?
erwanPutra said:
Can i flash on arrow os 9.0 with jaguar kernel?
Click to expand...
Click to collapse
Edit: No. I'll update for other ROM soon, possibly tonight, if all go well.
shohabmsk said:
Edit: No. I'll update for other ROM soon, possibly tonight, if all go well.
Click to expand...
Click to collapse
Thanks, i want to use my phone as DAP
erwanPutra said:
Thanks, i want to use my phone as DAP
Click to expand...
Click to collapse
What is DAP anyway? Didn't understand. I only know it as Dolby Atmos.
shohabmsk said:
What is DAP anyway? Didn't understand. I only know it as Dolby Atmos.
Click to expand...
Click to collapse
digital audio player, maybe as casual listener using smartphone as music player is enough but for me, i ise DAP such as fiio x3 or shanling m3, hi res audio player
erwanPutra said:
digital audio player, maybe as casual listener using smartphone as music player is enough but for me, i ise DAP such as fiio x3 or shanling m3, hi res audio player
Click to expand...
Click to collapse
Oh. Actually power output of our phone through earphone/headset port is lower, I tested few earphones(hi res too) with other phones, ours gave poor quality. Found its power output.
24 bit actually increases audio quality, not electricity through the port. Tested yesterday. You should be using them, if you are referring to this. Otherwise, kernel or hw modifications should be done for increasing power output.
shohabmsk said:
Oh. Actually power output of our phone through earphone/headset port is lower, I tested few earphones(hi res too) with other phones, ours gave poor quality. Found its power output.
24 bit actually increases audio quality, not electricity through the port. Tested yesterday. You should be using them, if you are referring to this. Otherwise, kernel or hw modifications should be done for increasing power output.
Click to expand...
Click to collapse
im using BGVP SGZ DN1, i guess that earphone doesnt need much power like high end earphone or headphone, but i really waiting for next update
Update for RR Luis Oreo and Arrow Os Pie
[experimental] I didn't test these by myself. Helped and tested by @brunozod and @ordinarystar. Only for RR Luis Oreo (based on Los official 15.1 vendor) and Arrow Os pie. May/should work on other oreo/pie ROMs too. Not tested. Arrow Os pie version may work in all ROMs based on swapnil soni vendor(pie?), RR Luis version may work in Los Official 15.1.
I was sured it's working, the terminal, and they heard differences while playing a song.
Issues:
*Mod not working? Uninstall all sound mods in magisk, reboot(?), flash this mod, reboot(?), install your desired sound mod. But check in terminal.
*If you have 44100hz output, also different things(you will find out), install viper4android, check again.
{Funny thing is that, each may work on both, but you are on your own}
Now this is experimental. I may update my thread tomorrow with details. Busy schedule.
Update for 96khz and 192khz(?) MIUI [experimental]
These are not tested by me (maybe never will be). But I configured the way these should work. You are on your own. Thanks @kennethstarr for heads up.
Note: these are experimental and will be for a long time. CPU usages, battery drain etc should be concerned only by yourselves.
* Bluetooth output, or sink output (?), cast may not include these output. They can be also 16 bit too. No update for them from me now. There's a reason. I'm checking. Earphones, default speaker should be fine.
*Viper, Dolby didn't work for me in 96khz, not tested 192khz, also no issues tested further in any of those. No support for them now.
If anything is missing or wrong, sorry. I'll update soon.
after flashing for arrow os pie seems good, my BGVP SGZ DN1 gain more power so i dont need to raise volume to 60% to get the detailed sound, (altpugh the bgvp no as good as TZF or OCHARAKU earphone) and second time i flashed the 24 bit 192khz the problem started, chrome wont loading page and Force close, and third time i try the 24it 96khz and seems working fine youtube and chrome totally fine.
I'll update again, hopefully there more people will tested it, altough redmi 4x sound chip not as good as LGv10 or V20, keep making good sound mod
erwanPutra said:
after flashing for arrow os pie seems good, my BGVP SGZ DN1 gain more power so i dont need to raise volume to 60% to get the detailed sound, (altpugh the bgvp no as good as TZF or OCHARAKU earphone) and second time i flashed the 24 bit 192khz the problem started, chrome wont loading page and Force close, and third time i try the 24it 96khz and seems working fine youtube and chrome totally fine.
I'll update again, hopefully there more people will tested it, altough redmi 4x sound chip not as good as LGv10 or V20, keep making good sound mod
Click to expand...
Click to collapse
Thanks for testing.
Actually, 96khz and 192khz up there are only for MIUI at this moment, I also mentioned it. Even on MIUI, after flashing 96khz, viper/Dolby didn't work for me. Didn't test further nor 192khz. I also mentioned them as experimental, I won't support them now, nor any bugs related.
I found 48khz is enough for our chip, battery and other things related to this. Even sounds better on 24 bit. So, I am seeing no support needed or I'll have my headache started again. Busy days...
shohabmsk said:
Thanks for testing.
Actually, 96khz and 192khz up there are only for MIUI at this moment, I also mentioned it. Even on MIUI, after flashing 96khz, viper/Dolby didn't work for me. Didn't test further nor 192khz. I also mentioned them as experimental, I won't support them now, nor any bugs related.
I found 48khz is enough for our chip, battery and other things related to this. Even sounds better on 24 bit. So, I am seeing no support needed or I'll have my headache started again. Busy days...
Click to expand...
Click to collapse
i see well on miui is experimental but on arrow os work fine with viper4a.
yep this mod is more than enough and hoping someone will tested it and feel the difference
erwanPutra said:
i see well on miui is experimental but on arrow os work fine with viper4a.
yep this mod is more than enough and hoping someone will tested it and feel the difference
Click to expand...
Click to collapse
Can you give me the output of the terminal command? Before giving surity of 96khz, I need to check it, the whole issue is different, because MIUI and treble ROMs have few differences in those files, you may not get bug now, you may get later.
shohabmsk said:
Can you give me the output of the terminal command? Before giving surity of 96khz, I need to check it, the whole issue is different, because MIUI and treble ROMs have few differences in those files, you may not get bug now, you may get later.
Click to expand...
Click to collapse
:/ $ su
:/ # dumpsys media.audio_flinger
Libraries NOT loaded:
Library (null)
path: dirac
Libraries loaded:
Library shoebox
path: /vendor/lib/soundfx/libshoebox.so
Qualcomm Technologies ShoeBox / Qualcomm Technologies, Inc.
UUID: 1eab784c-1a36-4b2a-b7fc-e34c44cab89e
TYPE: f054b867-aa53-4edd-96be-2f7859b8781c
apiVersion: 00020000
flags: 00400200
Library audiosphere
path: /vendor/lib/soundfx/libasphere.so
Qualcomm Technologies Audio Sphere / Qualcomm Technologies, Inc.
UUID: 184e62ab-2d19-4364-9d1b-c0a40733866c
TYPE: 2f03ade8-d92b-4172-9eea-520cdefa3c1d
apiVersion: 00020000
flags: 00400200
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
Volume listener for Music / Qualcomm Technologies Inc.
UUID: 08b8b058-0590-11e5-ac71-0025b32654a0
TYPE: 08b8b058-0590-11e5-ac71-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: 00000203
Acoustic Echo Canceler / Qualcomm Fluence
UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b
apiVersion: 00020000
flags: 00000203
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: 00400088
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: 00400088
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: 00400290
Qualcomm Technologies Bass Boost / Qualcomm Technologies, Inc.
UUID: 14804144-a5ee-4d24-aa88-0002a5d5c51b
TYPE: 0634f220-ddd4-11db-a0fc-0002a5d5c51b
apiVersion: 00020000
flags: 00400290
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
XML effect configuration partially loaded, skipped 2 elements.
Clients:
pid: 1916
pid: 2480
Notification Clients:
pid: 1557
pid: 1661
pid: 1916
pid: 2480
pid: 2725
Global session refs:
session pid count
9 1916 1
Hardware status: 0
Standby Time mSec: 3000
Output thread 0xf3e03f40, name AudioOut_D, tid 1735, 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): 62162
Total writes: 151
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40c2000
Mixer buffer: 0xf40b4000
Effect buffer: 0xf40be000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48c9e68 flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST)
Frames written: 144960
Suspended frames: 0
PipeSink frames written: 144960
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks: 0
Master mono: off
FastMixer thread 0xf3d83900 tid=1734 FastMixer command=COLD_IDLE writeSequence=1506 framesWritten=144576
numTracks=1 writeErrors=0 underruns=0 overruns=0
sampleRate=48000 frameCount=192 measuredWarmup=106 ms, warmupCycles=5
mixPeriod=4.00 ms
Simple moving statistics over last 3.0 seconds:
wall clock time in ms per mix cycle:
mean=4.00 min=2.90 max=5.11 stddev=0.22
raw CPU load in us per mix cycle:
mean=136 min=0 max=299 stddev=29
Fast tracks: sMaxFastTracks=8 activeMask=0x1
Index Active Full Partial Empty Recent Ready Written
0 yes 748 0 0 full 1536 143424
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:-18, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:-inf, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
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
S 0 no 1916 9 S 0x600 00000001 00000001 48000 1 -inf -inf 0 000012C0 4800 0 f 0 0 F40C2000 00000000
1 Effect Chains
1 effects for session 0
In buffer Out buffer Active tracks:
0xf40be000 -> 0xf71cd000 0xf71cd000 -> 0xf40be000 0
Effect ID 11:
Session Status State Engine:
00000 000 000 0xf489a3e0
Descriptor:
- UUID: 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
- TYPE: ee48cf24-9221-4095-2cb9-40faa133111b
- apiVersion: 00000004
- 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
- data: int16
- Input configuration:
Buffer Frames Smp rate Channels Format
0xf71cd000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
- Output configuration:
Buffer Frames Smp rate Channels Format
0xf71cd000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
- HAL buffers:
In(0xf40be000 -> 0xf71cd000) InConversion(0xf71de000) Out(0xf71cd000 -> 0xf40be000) OutConversion(0xf71da000)
1 Clients:
Pid Priority Ctrl Locked client server
2480 0 yes yes 0 0
Local log:
11-15 12:42:09.450 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
11-15 12:45:49.444 AT::add (0xf48efc80) S 0 no 1916 9 A 0x000 00000001 00000001 48000 1 -6 -6 0 00000000 4800 4800 F 0 0 F40C2000 00000000
11-15 12:45:49.700 AT::remove (0xf48efc80) S 0 no 1916 9 S 0x600 00000001 00000001 48000 1 -inf -inf 0 000012C0 4800 0 f 0 0 F40C2000 00000000
11-15 12:45:52.556 threadLoop_standby: framesWritten:144960 suspendedFrames:0 monoPipeWritten:144960 monoPipeLeft:1344
11-15 12:45:52.556 threadLoop_standby: BOOTTIME offset 1117696269
ExtendedTimestamp[0] position: 0 time: -1
ExtendedTimestamp[1] position: 144960 time: 236200348892
ExtendedTimestamp[2] position: 142416 time: 236217787019
ExtendedTimestamp[3] position: 144960 time: 236200348892
ExtendedTimestamp[4] position: 141840 time: 236205849622
Output thread 0xf3b03300, name AudioOut_15, tid 1737, type 0 (MIXER):
I/O handle: 21
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): 298366
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40cc000
Mixer buffer: 0xf40c4000
Effect buffer: 0xf40ca000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca220 flags 0x104 (AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks:
Master mono: off
FastMixer thread 0xf3a83900 tid=1736 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:-inf, 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:
11-15 12:42:09.458 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Output thread 0xf3803480, name AudioOut_1D, tid 1739, type 0 (MIXER):
I/O handle: 29
Standby: yes
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: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1920
Last write occurred (msecs): 52112
Total writes: 74
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40cf000
Mixer buffer: 0xf40f3000
Effect buffer: 0xf40f8000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca258 flags 0x8 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
Frames written: 142080
Suspended frames: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks:
Master mono: off
No FastMixer
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-5.2, 4:-inf, 5:-inf, 6:-inf, 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:
11-15 12:42:09.467 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
11-15 12:45:59.706 AT::add (0xf48efa00) 0 no 7846 17 A 0x000 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 0 0 F40CF000 00000000
11-15 12:45:59.800 AT::remove (0xf48efa00) 0 no 7846 17 T 0x600 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 1922 0 F40CF000 00000000
11-15 12:45:59.800 removeTrack_l (0xf48efa00) 0 no 7846 17 T 0x600 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 1922 0 F40CF000 00000000
Output thread 0xf3603f00, name AudioOut_25, tid 1741, 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): 298369
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf48f9000
Mixer buffer: 0xf48f4000
Effect buffer: 0xf48f6800
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca140 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:
Master mono: off
FastMixer thread 0xf3583740 tid=1740 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:0, 2:0, 3:0, 4:0, 5:0, 6:-inf, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
11-15 12:42:09.477 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)
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=[]
:/ #
erwanPutra said:
Code:
:/ $ su
:/ # dumpsys media.audio_flinger
Libraries NOT loaded:
Library (null)
path: dirac
Libraries loaded:
Library shoebox
path: /vendor/lib/soundfx/libshoebox.so
Qualcomm Technologies ShoeBox / Qualcomm Technologies, Inc.
UUID: 1eab784c-1a36-4b2a-b7fc-e34c44cab89e
TYPE: f054b867-aa53-4edd-96be-2f7859b8781c
apiVersion: 00020000
flags: 00400200
Library audiosphere
path: /vendor/lib/soundfx/libasphere.so
Qualcomm Technologies Audio Sphere / Qualcomm Technologies, Inc.
UUID: 184e62ab-2d19-4364-9d1b-c0a40733866c
TYPE: 2f03ade8-d92b-4172-9eea-520cdefa3c1d
apiVersion: 00020000
flags: 00400200
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
Volume listener for Music / Qualcomm Technologies Inc.
UUID: 08b8b058-0590-11e5-ac71-0025b32654a0
TYPE: 08b8b058-0590-11e5-ac71-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: 00000203
Acoustic Echo Canceler / Qualcomm Fluence
UUID: 0f8d0d2a-59e5-45fe-b6e4-248c8a799109
TYPE: 7b491460-8d4d-11e0-bd61-0002a5d5c51b
apiVersion: 00020000
flags: 00000203
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: 00400088
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: 00400088
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: 00400290
Qualcomm Technologies Bass Boost / Qualcomm Technologies, Inc.
UUID: 14804144-a5ee-4d24-aa88-0002a5d5c51b
TYPE: 0634f220-ddd4-11db-a0fc-0002a5d5c51b
apiVersion: 00020000
flags: 00400290
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
XML effect configuration partially loaded, skipped 2 elements.
Clients:
pid: 1916
pid: 2480
Notification Clients:
pid: 1557
pid: 1661
pid: 1916
pid: 2480
pid: 2725
Global session refs:
session pid count
9 1916 1
Hardware status: 0
Standby Time mSec: 3000
Output thread 0xf3e03f40, name AudioOut_D, tid 1735, 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): 62162
Total writes: 151
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40c2000
Mixer buffer: 0xf40b4000
Effect buffer: 0xf40be000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48c9e68 flags 0x6 (AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST)
Frames written: 144960
Suspended frames: 0
PipeSink frames written: 144960
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks: 0
Master mono: off
FastMixer thread 0xf3d83900 tid=1734 FastMixer command=COLD_IDLE writeSequence=1506 framesWritten=144576
numTracks=1 writeErrors=0 underruns=0 overruns=0
sampleRate=48000 frameCount=192 measuredWarmup=106 ms, warmupCycles=5
mixPeriod=4.00 ms
Simple moving statistics over last 3.0 seconds:
wall clock time in ms per mix cycle:
mean=4.00 min=2.90 max=5.11 stddev=0.22
raw CPU load in us per mix cycle:
mean=136 min=0 max=299 stddev=29
Fast tracks: sMaxFastTracks=8 activeMask=0x1
Index Active Full Partial Empty Recent Ready Written
0 yes 748 0 0 full 1536 143424
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:-18, 2:-inf, 3:-inf, 4:-inf, 5:-inf, 6:-inf, 7:-inf, 8:-inf, 9:0, 10:-inf, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
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
S 0 no 1916 9 S 0x600 00000001 00000001 48000 1 -inf -inf 0 000012C0 4800 0 f 0 0 F40C2000 00000000
1 Effect Chains
1 effects for session 0
In buffer Out buffer Active tracks:
0xf40be000 -> 0xf71cd000 0xf71cd000 -> 0xf40be000 0
Effect ID 11:
Session Status State Engine:
00000 000 000 0xf489a3e0
Descriptor:
- UUID: 41d3c987-e6cf-11e3-a88a-11aba5d5c51b
- TYPE: ee48cf24-9221-4095-2cb9-40faa133111b
- apiVersion: 00000004
- 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
- data: int16
- Input configuration:
Buffer Frames Smp rate Channels Format
0xf71cd000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
- Output configuration:
Buffer Frames Smp rate Channels Format
0xf71cd000 00960 48000 00000003 1 (AUDIO_FORMAT_PCM_16_BIT)
- HAL buffers:
In(0xf40be000 -> 0xf71cd000) InConversion(0xf71de000) Out(0xf71cd000 -> 0xf40be000) OutConversion(0xf71da000)
1 Clients:
Pid Priority Ctrl Locked client server
2480 0 yes yes 0 0
Local log:
11-15 12:42:09.450 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
11-15 12:45:49.444 AT::add (0xf48efc80) S 0 no 1916 9 A 0x000 00000001 00000001 48000 1 -6 -6 0 00000000 4800 4800 F 0 0 F40C2000 00000000
11-15 12:45:49.700 AT::remove (0xf48efc80) S 0 no 1916 9 S 0x600 00000001 00000001 48000 1 -inf -inf 0 000012C0 4800 0 f 0 0 F40C2000 00000000
11-15 12:45:52.556 threadLoop_standby: framesWritten:144960 suspendedFrames:0 monoPipeWritten:144960 monoPipeLeft:1344
11-15 12:45:52.556 threadLoop_standby: BOOTTIME offset 1117696269
ExtendedTimestamp[0] position: 0 time: -1
ExtendedTimestamp[1] position: 144960 time: 236200348892
ExtendedTimestamp[2] position: 142416 time: 236217787019
ExtendedTimestamp[3] position: 144960 time: 236200348892
ExtendedTimestamp[4] position: 141840 time: 236205849622
Output thread 0xf3b03300, name AudioOut_15, tid 1737, type 0 (MIXER):
I/O handle: 21
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): 298366
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40cc000
Mixer buffer: 0xf40c4000
Effect buffer: 0xf40ca000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca220 flags 0x104 (AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW)
Frames written: 0
Suspended frames: 0
PipeSink frames written: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks:
Master mono: off
FastMixer thread 0xf3a83900 tid=1736 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:-inf, 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:
11-15 12:42:09.458 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Output thread 0xf3803480, name AudioOut_1D, tid 1739, type 0 (MIXER):
I/O handle: 29
Standby: yes
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: 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
Input device: 0 (AUDIO_DEVICE_NONE)
Audio source: 0 (default)
Normal frame count: 1920
Last write occurred (msecs): 52112
Total writes: 74
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf40cf000
Mixer buffer: 0xf40f3000
Effect buffer: 0xf40f8000
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca258 flags 0x8 (AUDIO_OUTPUT_FLAG_DEEP_BUFFER)
Frames written: 142080
Suspended frames: 0
Hal stream dump:
Thread throttle time (msecs): 0
AudioMixer tracks:
Master mono: off
No FastMixer
Stream volumes in dB: 0:-24, 1:-inf, 2:-inf, 3:-5.2, 4:-inf, 5:-inf, 6:-inf, 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:
11-15 12:42:09.467 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x2 (AUDIO_DEVICE_OUT_SPEAKER) new device 0x2 (AUDIO_DEVICE_OUT_SPEAKER)
11-15 12:45:59.706 AT::add (0xf48efa00) 0 no 7846 17 A 0x000 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 0 0 F40CF000 00000000
11-15 12:45:59.800 AT::remove (0xf48efa00) 0 no 7846 17 T 0x600 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 1922 0 F40CF000 00000000
11-15 12:45:59.800 removeTrack_l (0xf48efa00) 0 no 7846 17 T 0x600 00000005 00000003 48000 3 0 0 0 00000000 10240 0 f 1922 0 F40CF000 00000000
Output thread 0xf3603f00, name AudioOut_25, tid 1741, 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): 298369
Total writes: 0
Delayed writes: 0
Blocked in write: no
Suspend count: 0
Sink buffer : 0xf48f9000
Mixer buffer: 0xf48f4000
Effect buffer: 0xf48f6800
Fast track availMask=0xfe
Standby delay ns=3000000000
AudioStreamOut: 0xf48ca140 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:
Master mono: off
FastMixer thread 0xf3583740 tid=1740 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:0, 2:0, 3:0, 4:0, 5:0, 6:-inf, 7:0, 8:0, 9:0, 10:0, 11:0, 12:0
Normal mixer raw underrun counters: partial=0 empty=0
0 Tracks
0 Effect Chains
Local log:
11-15 12:42:09.477 CFG_EVENT_CREATE_AUDIO_PATCH: old device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX) new device 0x10000 (AUDIO_DEVICE_OUT_TELEPHONY_TX)
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=[]
:/ #
Click to expand...
Click to collapse
It's showing PCM 16. Not working. There's file differences in MIUI and others.
I'll upload 96khz and 192khz output for treble ROMs tonight. Use code tag from the tab in the codes. Thanks.