Jump to content
Poweramp
FurqanHanif

Hi-Res 24bit/192khz Option Gone after Updating from Marshmallow to Nougat.

Recommended Posts

Hello.. 

i Am using Xiaomi Redmi Note 4 Snapdragon 625. in Marshmallow 24bit/192khz was working fine in Poweramp Alpha but after Updating  to Nougat That Option is Gone , No more Hi-res.. 
Why is that .. ? is Nougat Not Supported. ? ANy way to get that option Back.. ? 

Thanks..

 

Share this post


Link to post
Share on other sites

Did you download the alpha through this website or through the play store? You need to be on build 704 for Nougat compatibility and the play store only installs 703. There is still a chance that it won't read it after updating as the alpha came out before official Nougat was released and was still on developer previews.

Share this post


Link to post
Share on other sites
1 hour ago, KUSOsan said:

Did you download the alpha through this website or through the play store? You need to be on build 704 for Nougat compatibility and the play store only installs 703. There is still a chance that it won't read it after updating as the alpha came out before official Nougat was released and was still on developer previews.

Thanks for reply.. 

Tried 704 alpha , it detected 24bit SD PCM but everytime I enable it it says failed , switching to default output. 

Here see this screenshot. 

 

Screenshot_2017-08-11-04-05-20-414_com.maxmpz.audioplayer.thumb.png.192df9ded6f3a29e0b2e89d58ffe636d.png

Share this post


Link to post
Share on other sites

Unfortunately there's a clue in the name alpha test / experimental. Not all devices work with high-res, and updating phones to Nougat variants which were released after the last alpha test build (April 2016) is somewhat hit and miss. Thanks for the report though, and please add your device/ROM to the High Res Requests thread too. Thanks.

Andre

Share this post


Link to post
Share on other sites
2 hours ago, andrewilley said:

Unfortunately there's a clue in the name alpha test / experimental. Not all devices work with high-res, and updating phones to Nougat variants which were released after the last alpha test build (April 2016) is somewhat hit and miss. Thanks for the report though, and please add your device/ROM to the High Res Requests thread too. Thanks.

Andre

Thanks For Reply. 

I know it's in alpha State , i thought maybe disabling some specific Setting might fix this issue.. 

Added My Device/ROM in Hi-Res thread. 

Thanks Again.. :) (y) 

Share this post


Link to post
Share on other sites

I encountered a same situation on my device. 

  • LGE g3 variant, snapdragon 801ac SoC
  • Android 7.1.2 lineageos based ROM
  • Poweramp 704 alpha
  • Poweramp detects Hi-Res Output, but it fails when I selected it.

After some investigation, I found out that Poweramp seems to use AudioTrack without AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD flag when it fails.
(I believe we need the flag on my device because audio~policy.conf has a compress_offload entry for Hi-Res output.)

Also I confirmed this issue can be avoid by tweaking build.prop to:
  persist.audio.uhqa=1
  ro.product.manufacturer=samsung

(A member of this forum shared this information to me.)

Why did we need that tweak? My device has audio.offload.pcm.24bit.enable=true entry in build.prop.

Adb log of failure is below:

09-16 08:54:40.945  3832  3867 E osloutput.c: output_get_int_param bad param=4
09-16 08:54:40.973  3832  4162 I dsp_thread.c: dsp_thread_release_impl releasing: com.maxmpz.audioplayer/plugin.tempo
09-16 08:54:40.973  3832  4162 I dsp_thread.c: dsp_thread_release_impl releasing: com.maxmpz.audioplayer/plugin.reverb
09-16 08:54:40.973  3832  4162 I dsp_thread.c: dsp_thread_release_impl releasing: com.maxmpz.audioplayer/plugin.milk
09-16 08:54:41.025   294   294 W AudioFlinger::EffectModule: EffectModule 0xb5217180 destructor called with unreleased interface
09-16 08:54:41.027   294   531 W AudioFlinger::EffectHandle: disconnect Effect handle 0xb6197d40 disconnected after thread destruction
09-16 08:54:41.031  3832  6647 W OutputManager: selected output=com.maxmpz.audioplayer/output.athd for device=0 deviceName=headset flags=0x10
09-16 08:54:41.038  3832  6647 I atexpoutput.c (audio): output_create output_buf_ms=50 dsp_bufs=2 dsp_postfade_blocks=0 dsp_prefetch_bufs=3 flags=0x10 sample_rate=192000 vis_latency_ms=0
09-16 08:54:41.039   294  1085 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 469762052, channels 3, flags 21
09-16 08:54:41.040  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1c000004, channel mask 0x3, flags 0x21
09-16 08:54:41.040   294  3938 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 419430404, channels 3, flags 21
09-16 08:54:41.040  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x19000004, channel mask 0x3, flags 0x21
09-16 08:54:41.040   294   294 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 385875972, channels 3, flags 21
09-16 08:54:41.041  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x17000004, channel mask 0x3, flags 0x21
09-16 08:54:41.041   294   531 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 436207620, channels 3, flags 21
09-16 08:54:41.042  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1a000004, channel mask 0x3, flags 0x21
09-16 08:54:41.042   294  1085 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 452984836, channels 3, flags 21
09-16 08:54:41.042  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1b000004, channel mask 0x3, flags 0x21
09-16 08:54:41.042   294  3938 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 486539268, channels 3, flags 21
09-16 08:54:41.043  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1d000004, channel mask 0x3, flags 0x21
09-16 08:54:41.043   294   294 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 503316484, channels 3, flags 21
09-16 08:54:41.043  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1e000004, channel mask 0x3, flags 0x21
09-16 08:54:41.043   294   531 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 520093700, channels 3, flags 21
09-16 08:54:41.043  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x1f000004, channel mask 0x3, flags 0x21
09-16 08:54:41.043   294  1085 W AudioPolicyManagerCustom: getOutput() could not find output for stream 6, samplingRate 192000,format 402653188, channels 3, flags 21
09-16 08:54:41.043   794   849 I ActivityManager: Displayed com.maxmpz.audioplayer/.dialogs.TextAlertDialogActivity: +107ms
09-16 08:54:41.044  3832  6647 E AudioTrack: Could not get audio output for session 89, stream type 6, usage 0, sample rate 192000, format 0x18000004, channel mask 0x3, flags 0x21
09-16 08:54:41.044  3832  6647 E audiotrack_direct.c: FAIL: audiotrack_open() Error -22 initializing AudioTrack
09-16 08:54:41.044  3832  6647 E atexpoutput.c (audio): FAIL: audiotrack_create() !ctx->at_ctx
09-16 08:54:41.044  3832  6647 E atexpoutput.c (audio): FAIL: output_create() audiotrack_create(ctx, env, &config, features, negotiate_output_format, session_id, g_at_min_buf_frames_48k, routed_device) != 0
09-16 08:54:41.044  3832  6647 E dsp_thread.c: FAIL: create_output_and_buffers() !ctx->output_context
09-16 08:54:41.044  3832  6647 E dsp_thread.c: FAIL: dsp_thread_create() create_output_and_buffers(ctx, routed_device, requested_caps, output_blob) == -1
09-16 08:54:41.045  3832  6647 E pipeline.c: FAIL: native_build() dsp_thread
09-16 08:54:41.045  3832  6647 W OutputManager: selected output=com.maxmpz.audioplayer/output.osl for device=0 deviceName=headset flags=0x10
09-16 08:54:41.048  3832  6647 I osloutput.c: output_create output_buf_ms=50 dsp_bufs=2 dsp_postfade_blocks=1 dsp_prefetch_bufs=3 flags=0x10 sample_rate=0 vis_latency_ms=0
09-16 08:54:41.053  3832  6647 I osloutput.c: output_create frames_per_block=2496 block ms=52.000000 num_bufs=2 at_min_buf_frames=3844 sl_min_buf_frames=192 sr=48000 at_sr=48000 sl_sr=48000 caps=0x10 latency=104.000000
09-16 08:54:41.053  3832  6647 I dsp_thread.c: create_output_and_buffers dsp_buf_pref=0 block_frames=2496 block_samples=4992 ms=52.000000 bytes=19968
09-16 08:54:41.053  3832  6647 I dsp_thread.c: create_output_and_buffers block_bytes_in_output_format=9984 output_block_bytes=9984 dsp_buf_frames=2496
09-16 08:54:41.053  3832  6647 I dsp_thread.c: create_output_and_buffers output: capabilities=0x10 frames_per_block=2496 num_blocks=2 request_dsp_blocks=2 request_dsp_prefetch_blocks=3 latency_ms=104.00  total_latency_ms=208.00 total_latency_blocks=4
09-16 08:54:41.053  3832  6647 I dsp_thread.c: create_output_and_buffers mmapped_output_buf_frames=15360 desired_buf_frames=9984 output_buffer_reserved_frames=5376 buf_size=61440 ms=320.00 final_zero_blocks=3 latency_zero_blocks_count=5 final_zero_ms=156.00
09-16 08:54:41.057  3832  6650 W dsp_thread.c: output resampler required, output:  ch=2 fmt=1 sr=48000 ch_lay=3
09-16 08:54:41.057  3832  6650 I libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
09-16 08:54:41.062  3832  6650 D AudioTrack: Client defaulted notificationFrames to 1922 for frameCount 3844
09-16 08:54:41.065  3832  6650 I dsp_thread.c: creating DSP plugin: com.maxmpz.audioplayer/plugin.milk(6)
09-16 08:54:41.065  3832  6650 I dsp_thread.c: creating DSP plugin: com.maxmpz.audioplayer/plugin.tempo(11)
09-16 08:54:41.065  3832  6650 I dsp_thread.c: creating DSP plugin: com.maxmpz.audioplayer/plugin.reverb(12)
09-16 08:54:41.067  3832  6647 E PlayerService: Output failed=NativePlugin[84641906] uniq_name=com.maxmpz.audioplayer/output.athd id=4 flags=80000003 name=Poweramp Hi-Res Exp Output
09-16 08:54:41.067  3832  6647 E PlayerService: java.lang.Exception
09-16 08:54:41.067  3832  6647 E PlayerService:         at com.maxmpz.audioplayer.player.PlayerService$11.run(":1607)
09-16 08:54:41.067  3832  6647 E PlayerService:         at java.lang.Thread.run(Thread.java:761)
09-16 08:54:41.070  1109  1555 V Avrcp   : MediaController playback changed: PlaybackState {state=2, position=386377, buffered position=0, speed=1.0, updated=192982, actions=895, custom actions=[], active item id=-1, error=null}
09-16 08:54:41.070  1109  1555 V Avrcp   : updatePlayPauseState, state: PlaybackState {state=2, position=386377, buffered position=0, speed=1.0, updated=192982, actions=895, custom actions=[], active item id=-1, error=null} device: null
09-16 08:54:41.070  1109  1555 V Avrcp   : Device: no name:
09-16 08:54:41.070  1109  1555 I Avrcp   : updatePlayStatusForDevice: device: null
09-16 08:54:41.070  1109  1555 D Avrcp   : Exit onPlaybackStateChanged()

Share this post


Link to post
Share on other sites
On 11/8/2017 at 9:42 AM, andrewilley said:

Unfortunately there's a clue in the name alpha test / experimental. Not all devices work with high-res, and updating phones to Nougat variants which were released after the last alpha test build (April 2016) is somewhat hit and miss. Thanks for the report though, and please add your device/ROM to the High Res Requests thread too. Thanks.

Andre

Please, can you consider to fix this feature on Axon 7 devices? It doesn't work also with the last version (alpha-build-709-play).

Share this post


Link to post
Share on other sites
On 5/20/2018 at 0:47 PM, Mat said:

Please, can you consider to fix this feature on Axon 7 devices? It doesn't work also with the last version (alpha-build-709-play).

Try 790- Preview Beta Version (NEW UI) . Working well for me (for now ) .. Might work for you .. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×