• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[PSA] You can output Hi-Res audio via internal DAC

Search This thread

WilderSu

Senior Member
Dec 26, 2014
58
18
I've found recently that in last alphas of Poweramp player you can output hi-res audio (up to 24bit/192khz supported by our chip ) directly via Snapdragon's DAC (to heaphones ). And it works! BUT!
It only works with stock Roms apparently, I've checked few Nougats, Sultan's cm13 and only stock cm13 worked....
If someone knows of any other Rom which works with this please let me know!


KGNSuho.png


Most of my audio is high def, plus I have pair of so called "hi-res" heaphones , one of them are cheapo Xiaomi Hybrids Pro, and this stack really does make difference. I've left Viper and Co. for good when it comes to my music.
 
Last edited:

r0tati0n

Senior Member
Jun 30, 2015
222
35
You have hi-res headphones...
Would you consider the Sony MDR-1000X NC Headphones as "hi-res" headphones?
I have those, would I notice a difference?
 

LPW00

Senior Member
May 14, 2016
635
251
It's a known Poweramp bug that should be fixed in Poweramp's next update. Currently it doesn't support hires audio on any Nougat device.
 

f41lbl0g

Senior Member
Mar 15, 2014
301
422
To force it to use high res on nougat, install arise, then go to /etc/init.d/ and rename arisesound_disabled_setprop to arisesound_setprop. Install version 704 alpha of Poweramp (if you haven't already), and reboot. It should now work. If that doesn't work, make sure your rom supports init.d.
 

WilderSu

Senior Member
Dec 26, 2014
58
18
You have hi-res headphones...
Would you consider the Sony MDR-1000X NC Headphones as "hi-res" headphones?
I have those, would I notice a difference?

They are indeed Hi-Res certified, and have specs to follow. With decent quality recordings you might, it depends on how good is your hearing too :)

To force it to use high res on nougat, install arise, then go to /etc/init.d/ and rename arisesound_disabled_setprop to arisesound_setprop. Install version 704 alpha of Poweramp (if you haven't already), and reboot. It should now work. If that doesn't work, make sure your rom supports init.d.

I'm systemless ( for Android Pay ) is there systemless Arise?
Edit. Seems that, there is. Now gotta figure whatt is it about and how to install, never used it before.
Edit2. Done [just core], it sorta works now? Outputs hires to Lenovo Hi-Fi which is what you meant I guess? Won't give me peace of mind though as it outputs only in 16 bit (coverting my 24 bit audio midway).
Edit3. Sound seems actually better with that solution, it's especially noticeable with bass , it seems to truly output to DAC, latencies are even shorter than with poweramp's qualcom mode, and it seems to enable FLT_EXTENDED_DYN_RANGE in DAC, which I'm all about obviously, and that's what would result in improved bass
( I can set my bass to brain drilling now and it stays stable/without any distortions, just ...wow )
 
Last edited:
  • Like
Reactions: r0tati0n

WilderSu

Senior Member
Dec 26, 2014
58
18
Update, probably final. Although the ARISE trick allows for forcing Hi-res option, and output, from poweramp. (resulting in pleasant sound) it doesn't use DAC directly and goes through software chain resulting in 16/48 audio in the end.
It's easy to check through adb with "adb shell dumpsys media.audio_flinger"

Native DAC output on jgcap's CM

Code:
Output thread 0xac4fe000 type 4 (OFFLOAD):
  Thread name: AudioOut_17
  I/O handle: 23
  TID: 6203
  Standby: no
  Sample rate: 96000 Hz
  HAL frame count: 30720
  HAL format: 0x1a000004 (pcm-24bit-offload)
  HAL buffer size: 30720 bytes
  Channel count: 2
  Channel mask: 0x00000003 (front-left, front-right)
  Format: 0x1a000004 (pcm-24bit-offload)
  Frame size: 1 bytes
  Pending config events: none
  Output device: 0x8 (WIRED_HEADPHONE)
  Input device: 0 (NONE)
  Audio source: 0 (default)
  Normal frame count: 30720
  Last write occurred (msecs): 3
  Total writes: 196
  Delayed writes: 0
  Blocked in write: yes
  Suspend count: 0
  Sink buffer : 0xae0bd000
  Mixer buffer: 0xae203000
  Effect buffer: 0xae083000
  Fast track availMask=0xfe
  Standby delay ns=1000000000
  AudioStreamOut: 0xae122540 flags 0x31 (DIRECT|COMPRESS_OFFLOAD|NON_BLOCKING)
  Stream volumes in dB: 0:-10, 1:-27, 2:-20, 3:-17, 4:-13, 5:-20, 6:0, 7:-27, 8:-21, 9:-96, 10:-17, 11:0, 12:0
  Normal mixer raw underrun counters: partial=0 empty=0
  1 Tracks of which 1 are active
    Name Active Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt
    none    yes   6160    6 1A000004 00000003      22  61440 A 3 96000     0     0  005BA520 0xae0bd000 0x0 0x000     45792 
  0 Effect Chains

And on Nougat with ARISE

Code:
Output thread 0xb6179000 type 0 (MIXER):
  Thread name: AudioOut_15
  I/O handle: 21
  TID: 671
  Standby: no
  Sample rate: 48000 Hz
  HAL frame count: 1920
  HAL format: 0x1 (pcm16)
  HAL buffer size: 7680 bytes
  Channel count: 2
  Channel mask: 0x00000003 (front-left, front-right)
  Processing format: 0x1 (pcm16)
  Processing frame size: 4 bytes
  Pending config events: none
  Output device: 0x8 (WIRED_HEADPHONE)
  Input device: 0 (NONE)
  Audio source: 0 (default)
  Normal frame count: 1920
  Last write occurred (msecs): 16
  Total writes: 30172
  Delayed writes: 0
  Blocked in write: yes
  Suspend count: 0
  Sink buffer : 0xb617b000
  Mixer buffer: 0xb5311000
  Effect buffer: 0xb617d000
  Fast track availMask=0xfe
  Standby delay ns=3000000000
  AudioStreamOut: 0xb6149348 flags 0x8 (DEEP_BUFFER)
  Frames written: 57930240
  Suspended frames: 0
  Hal stream dump:
  Thread throttle time (msecs): 1228
  AudioMixer tracks: 0x00000003
  Master mono: off
  FastMixer not initialized
  Stream volumes in dB: 0:-10, 1:-31, 2:-35, 3:-28, 4:-28, 5:-35, 6:0, 7:-31, 8:-25, 9:-96, 10:-28, 11:0, 12:0
  Normal mixer raw underrun counters: partial=0 empty=0
  2 Tracks of which 1 are active
    Name Active Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt
       1    yes  29842    3 00000005 00000003     497   7688 A 3 96000     0     0  010FE000 0xb617b000 0x0 0x001      3844 
       0     no  29842    3 00000001 00000003     497   7688 I 0 96000     0     0  00000000 0xb617b000 0x0 0x000         0 
  0 Effect Chains

In the result I'll stay with the CM13 till next poweramp update. With direct DAC output battery lasts forever, and sound quality is impossible to beat with any current software tricks.
Better bass was only due to limiter in the chain, turning it on in poweramp results in same bass improvemnt.
 
Last edited:
  • Like
Reactions: RockStar2005

RockStar2005

Senior Member
May 22, 2014
1,584
262
I've found recently that in last alphas of Poweramp player you can output hi-res audio (up to 24bit/192khz supported by our chip ) directly via Snapdragon's DAC (to heaphones ). And it works! BUT!
It only works with stock Roms apparently, I've checked few Nougats, Sultan's cm13 and only stock cm13 worked....
If someone knows of any other Rom which works with this please let me know!


KGNSuho.png


Most of my audio is high def, plus I have pair of so called "hi-res" heaphones , one of them are cheapo Xiaomi Hybrids Pro, and this stack really does make difference. I've left Viper and Co. for good when it comes to my music.

Hi Wilder,

Can you please tell me, in the latest build (Build 798, which JUST came out I'm told), is there an option to BYPASS Snapdragon/Android audio processing if there is a separate (and superior) DAC detected (either internal or external via cable or BT)?? USB Audio Player Pro has this feature, and I'm wondering if Poweramp does as well.

This option you're speaking of appears to only be for the Snapdragon DACs.

Thank you!!
 

WilderSu

Senior Member
Dec 26, 2014
58
18
Hi Wilder,

Can you please tell me, in the latest build (Build 798, which JUST came out I'm told), is there an option to BYPASS Snapdragon/Android audio processing if there is a separate (and superior) DAC detected (either internal or external via cable or BT)?? USB Audio Player Pro has this feature, and I'm wondering if Poweramp does as well.

This option you're speaking of appears to only be for the Snapdragon DACs.

Thank you!!

Just tested it, I'm on Lineage 15.1 and not only it doesn't offer DAC but under LOS it doesn't ever offer the new Hi-Res OpenSL option. So it's a massive regression. I'm not going to test it on old CM stock, it's just not worth it. If I remember correctly latets DU offered HI-Res OpenSL [no dac though] .
Dissapointing.
 
  • Like
Reactions: RockStar2005

RockStar2005

Senior Member
May 22, 2014
1,584
262
Just tested it, I'm on Lineage 15.1 and not only it doesn't offer DAC but under LOS it doesn't ever offer the new Hi-Res OpenSL option. So it's a massive regression. I'm not going to test it on old CM stock, it's just not worth it. If I remember correctly latets DU offered HI-Res OpenSL [no dac though] .
Dissapointing.

Hey Wilder,

Thanks for starting this thread.

Which version are you testing though? The official V2 of Poweramp does NOT have any of the features I mentioned, but the last V3 "Beta/Preview" version does.

They just THIS MORNING released the Beta Build 799 version, which eliminated ALL the bugs found on previous versions from what I understood. I feel V3 is coming VERY VERY soon based on these recent updates which have come faster than usual. (V2 came out April 2013 FYI lol). I would recommend going to Play Store, signing up for Beta on the Poweramp trial page in Play Store, and then when the update appears update it, and enjoy.

IF you do this, please try both the OpenSL ES Output and HI-Res Output options and see if you can determine which one actually DOES the bypassing in question (if either do). I think we both would like to know. lol

If not, that's fine too.

Also, this article (below) from 2 months ago that I found earlier today claims ALL the apps listed in it offer bypassing of Android audio, at least that's how I'm interpreting. It mentions an earlier build of the V3 Beta Poweramp, so the 799 will definitely be a stable version of it to try out. Check it out and let me know what you think too.

https://www.google.com/search?q=The...=chrome..69i57j69i65&sourceid=chrome&ie=UTF-8 (CHOOSE THE FIRST ONE TO SEE ARTICLE!)

Thanks either way!!
 
Last edited:

WilderSu

Senior Member
Dec 26, 2014
58
18
Hey Wilder,

Thanks for starting this thread.

Which version are you testing though? The official V2 of Poweramp does NOT have any of the features I mentioned, but the last V3 "Beta/Preview" version does.

They just THIS MORNING released the Beta Build 799 version, which eliminated ALL the bugs found on previous versions from what I understood. I feel V3 is coming VERY VERY soon based on these recent updates which have come faster than usual. (V2 came out April 2013 FYI lol). I would recommend going to Play Store, signing up for Beta on the Poweramp trial page in Play Store, and then when the update appears update it, and enjoy.

IF you do this, please try both the OpenSL ES Output and HI-Res Output options and see if you can determine which one actually DOES the bypassing in question (if either do). I think we both would like to know. lol

If not, that's fine too.

Also, this article (below) from 2 months ago that I found earlier today claims ALL the apps listed in it offer bypassing of Android audio, at least that's how I'm interpreting. It mentions an earlier build of the V3 Beta Poweramp, so the 799 will definitely be a stable version of it to try out. Check it out and let me know what you think too.

https://www.google.com/search?q=The...=chrome..69i57j69i65&sourceid=chrome&ie=UTF-8 (CHOOSE THE FIRST ONE TO SEE ARTICLE!)

Thanks either way!!

I'm on latest v3 and it doesn't work, checked 12.5 DU and RR 6 ROMs and it doesn't work there either, seems the dev just checks it against latest official stock which was 5.1.1 CM which sucks majorly.
 
  • Like
Reactions: RockStar2005

RockStar2005

Senior Member
May 22, 2014
1,584
262
I'm on latest v3 and it doesn't work, checked 12.5 DU and RR 6 ROMs and it doesn't work there either, seems the dev just checks it against latest official stock which was 5.1.1 CM which sucks majorly.

Ok I didn't understand like 90% of that. LOL But thanks anyway.

So you think it'll work on the official V3 then??

Uggh this means if I notice a difference (with bypass on vs. off) I'd have to use UAPP. But I like Poweramp more, damm*t!!!!!! LOL
 

WilderSu

Senior Member
Dec 26, 2014
58
18
Ok I didn't understand like 90% of that. LOL But thanks anyway.

So you think it'll work on the official V3 then??

Uggh this means if I notice a difference (with bypass on vs. off) I'd have to use UAPP. But I like Poweramp more, damm*t!!!!!! LOL

Don't think it will, unless enough users will spam their forum about this phone. It's just too old, no one cares anymore.
 
  • Like
Reactions: RockStar2005

bmark240

Senior Member
Aug 19, 2016
833
726
Wasn't there a DAC enabler for Snapdragon Chipsets in Magisk Manager?

There is aptX HD available through Bluetooth on Oreo ROMS and newer.

I don't know if it works on Nougat or below though as I'm not an audiophile.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I've found recently that in last alphas of Poweramp player you can output hi-res audio (up to 24bit/192khz supported by our chip ) directly via Snapdragon's DAC (to heaphones ). And it works! BUT!
    It only works with stock Roms apparently, I've checked few Nougats, Sultan's cm13 and only stock cm13 worked....
    If someone knows of any other Rom which works with this please let me know!


    KGNSuho.png


    Most of my audio is high def, plus I have pair of so called "hi-res" heaphones , one of them are cheapo Xiaomi Hybrids Pro, and this stack really does make difference. I've left Viper and Co. for good when it comes to my music.
    1
    You have hi-res headphones...
    Would you consider the Sony MDR-1000X NC Headphones as "hi-res" headphones?
    I have those, would I notice a difference?

    They are indeed Hi-Res certified, and have specs to follow. With decent quality recordings you might, it depends on how good is your hearing too :)

    To force it to use high res on nougat, install arise, then go to /etc/init.d/ and rename arisesound_disabled_setprop to arisesound_setprop. Install version 704 alpha of Poweramp (if you haven't already), and reboot. It should now work. If that doesn't work, make sure your rom supports init.d.

    I'm systemless ( for Android Pay ) is there systemless Arise?
    Edit. Seems that, there is. Now gotta figure whatt is it about and how to install, never used it before.
    Edit2. Done [just core], it sorta works now? Outputs hires to Lenovo Hi-Fi which is what you meant I guess? Won't give me peace of mind though as it outputs only in 16 bit (coverting my 24 bit audio midway).
    Edit3. Sound seems actually better with that solution, it's especially noticeable with bass , it seems to truly output to DAC, latencies are even shorter than with poweramp's qualcom mode, and it seems to enable FLT_EXTENDED_DYN_RANGE in DAC, which I'm all about obviously, and that's what would result in improved bass
    ( I can set my bass to brain drilling now and it stays stable/without any distortions, just ...wow )
    1
    Update, probably final. Although the ARISE trick allows for forcing Hi-res option, and output, from poweramp. (resulting in pleasant sound) it doesn't use DAC directly and goes through software chain resulting in 16/48 audio in the end.
    It's easy to check through adb with "adb shell dumpsys media.audio_flinger"

    Native DAC output on jgcap's CM

    Code:
    Output thread 0xac4fe000 type 4 (OFFLOAD):
      Thread name: AudioOut_17
      I/O handle: 23
      TID: 6203
      Standby: no
      Sample rate: 96000 Hz
      HAL frame count: 30720
      HAL format: 0x1a000004 (pcm-24bit-offload)
      HAL buffer size: 30720 bytes
      Channel count: 2
      Channel mask: 0x00000003 (front-left, front-right)
      Format: 0x1a000004 (pcm-24bit-offload)
      Frame size: 1 bytes
      Pending config events: none
      Output device: 0x8 (WIRED_HEADPHONE)
      Input device: 0 (NONE)
      Audio source: 0 (default)
      Normal frame count: 30720
      Last write occurred (msecs): 3
      Total writes: 196
      Delayed writes: 0
      Blocked in write: yes
      Suspend count: 0
      Sink buffer : 0xae0bd000
      Mixer buffer: 0xae203000
      Effect buffer: 0xae083000
      Fast track availMask=0xfe
      Standby delay ns=1000000000
      AudioStreamOut: 0xae122540 flags 0x31 (DIRECT|COMPRESS_OFFLOAD|NON_BLOCKING)
      Stream volumes in dB: 0:-10, 1:-27, 2:-20, 3:-17, 4:-13, 5:-20, 6:0, 7:-27, 8:-21, 9:-96, 10:-17, 11:0, 12:0
      Normal mixer raw underrun counters: partial=0 empty=0
      1 Tracks of which 1 are active
        Name Active Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt
        none    yes   6160    6 1A000004 00000003      22  61440 A 3 96000     0     0  005BA520 0xae0bd000 0x0 0x000     45792 
      0 Effect Chains

    And on Nougat with ARISE

    Code:
    Output thread 0xb6179000 type 0 (MIXER):
      Thread name: AudioOut_15
      I/O handle: 21
      TID: 671
      Standby: no
      Sample rate: 48000 Hz
      HAL frame count: 1920
      HAL format: 0x1 (pcm16)
      HAL buffer size: 7680 bytes
      Channel count: 2
      Channel mask: 0x00000003 (front-left, front-right)
      Processing format: 0x1 (pcm16)
      Processing frame size: 4 bytes
      Pending config events: none
      Output device: 0x8 (WIRED_HEADPHONE)
      Input device: 0 (NONE)
      Audio source: 0 (default)
      Normal frame count: 1920
      Last write occurred (msecs): 16
      Total writes: 30172
      Delayed writes: 0
      Blocked in write: yes
      Suspend count: 0
      Sink buffer : 0xb617b000
      Mixer buffer: 0xb5311000
      Effect buffer: 0xb617d000
      Fast track availMask=0xfe
      Standby delay ns=3000000000
      AudioStreamOut: 0xb6149348 flags 0x8 (DEEP_BUFFER)
      Frames written: 57930240
      Suspended frames: 0
      Hal stream dump:
      Thread throttle time (msecs): 1228
      AudioMixer tracks: 0x00000003
      Master mono: off
      FastMixer not initialized
      Stream volumes in dB: 0:-10, 1:-31, 2:-35, 3:-28, 4:-28, 5:-35, 6:0, 7:-31, 8:-25, 9:-96, 10:-28, 11:0, 12:0
      Normal mixer raw underrun counters: partial=0 empty=0
      2 Tracks of which 1 are active
        Name Active Client Type      Fmt Chn mask Session fCount S F SRate  L dB  R dB    Server Main buf  Aux Buf Flags UndFrmCnt
           1    yes  29842    3 00000005 00000003     497   7688 A 3 96000     0     0  010FE000 0xb617b000 0x0 0x001      3844 
           0     no  29842    3 00000001 00000003     497   7688 I 0 96000     0     0  00000000 0xb617b000 0x0 0x000         0 
      0 Effect Chains

    In the result I'll stay with the CM13 till next poweramp update. With direct DAC output battery lasts forever, and sound quality is impossible to beat with any current software tricks.
    Better bass was only due to limiter in the chain, turning it on in poweramp results in same bass improvemnt.
    1
    Hi Wilder,

    Can you please tell me, in the latest build (Build 798, which JUST came out I'm told), is there an option to BYPASS Snapdragon/Android audio processing if there is a separate (and superior) DAC detected (either internal or external via cable or BT)?? USB Audio Player Pro has this feature, and I'm wondering if Poweramp does as well.

    This option you're speaking of appears to only be for the Snapdragon DACs.

    Thank you!!

    Just tested it, I'm on Lineage 15.1 and not only it doesn't offer DAC but under LOS it doesn't ever offer the new Hi-Res OpenSL option. So it's a massive regression. I'm not going to test it on old CM stock, it's just not worth it. If I remember correctly latets DU offered HI-Res OpenSL [no dac though] .
    Dissapointing.
    1
    Hey Wilder,

    Thanks for starting this thread.

    Which version are you testing though? The official V2 of Poweramp does NOT have any of the features I mentioned, but the last V3 "Beta/Preview" version does.

    They just THIS MORNING released the Beta Build 799 version, which eliminated ALL the bugs found on previous versions from what I understood. I feel V3 is coming VERY VERY soon based on these recent updates which have come faster than usual. (V2 came out April 2013 FYI lol). I would recommend going to Play Store, signing up for Beta on the Poweramp trial page in Play Store, and then when the update appears update it, and enjoy.

    IF you do this, please try both the OpenSL ES Output and HI-Res Output options and see if you can determine which one actually DOES the bypassing in question (if either do). I think we both would like to know. lol

    If not, that's fine too.

    Also, this article (below) from 2 months ago that I found earlier today claims ALL the apps listed in it offer bypassing of Android audio, at least that's how I'm interpreting. It mentions an earlier build of the V3 Beta Poweramp, so the 799 will definitely be a stable version of it to try out. Check it out and let me know what you think too.

    https://www.google.com/search?q=The...=chrome..69i57j69i65&sourceid=chrome&ie=UTF-8 (CHOOSE THE FIRST ONE TO SEE ARTICLE!)

    Thanks either way!!

    I'm on latest v3 and it doesn't work, checked 12.5 DU and RR 6 ROMs and it doesn't work there either, seems the dev just checks it against latest official stock which was 5.1.1 CM which sucks majorly.