Jump to content

MusicFX Audio Distortion Issue


Recommended Posts

On 8/4/2024 at 10:03 AM, Somnath Khole said:

@andrewilley Is Poweramp Follow Audio Output Detection Logs For in app All Audio Output Options ? 

B'Coz OPPO Phone's Have Different Directory/Path For Audio_Output_Policy.Conf Which is Not Showing in Poweramp. It shows Failed to Read.

@maxmp @andrewilley

As I Said Am Seen That Poweramp Unable to Detect Audio_Output_Policy.Conf

From MTK Devices please 🥺 Help And Provide Update ASAP

Example : POCO X6 PRO Logs

09:46:39.609 build-981-bundle-play

Device: POCO Xiaomi 2311DRK48I duchamp_in duchamp "mt6897" duchamp UP1A.230905.011 [arm64-v8a]

 

mt6897 is_mtk

MIUI=816

FAILED to read /vendor/etc/audio_output_policy.conf

FAILED to read /vendor/etc/audio_io_policy.conf

FAILED to read /system/etc/audio_policy.conf

reading /vendor/etc/audio_policy.conf

has outputs_primary, sampling_rates=44100|48000|96000|192000

has outputs/primary formats=AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_16_BIT

has primary formats=AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_16_BIT

has usb

has usb outputs

has usb_device, sampling_rates=dynamic

has usb formats=dynamic

forcing FLAG_VARIANT_MTK_HIFI

USB can handle Hi-Res - sdk=34

>>>OK flags=0xd84c01c00400000

FLAG_VARIANT_MTK_HIFI

FLAG_FORCE_PCM_8_24

FLAG_SUPPORTS_USB

FLAG_SUPPORTS_FLT_DYN_RANGE

FLAG_ASK_AF_SAMPLE_RATE

FLAG_ASK_AF_FORMAT

FLAG_SUPPORTS_LDAC

FLAG_ALLOW_DVC_EFFECT

PA_OUTPUT_CAP_DELAYED_FORMAT

INTERNAL_OUTPUT_FLAG_SR_192K

INTERNAL_OUTPUT_FLAG_SR_96K

INTERNAL_OUTPUT_FLAG_SR_48K

INTERNAL_OUTPUT_FLAG_SR_44K

Link to comment
Share on other sites

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

What's the problem? The audio_output_policy.conf can be placed in different places by the firmware vendor, and Poweramp finds the file in the fourth location where it looks for it.

2 hours ago, Somnath Khole said:

FAILED to read /vendor/etc/audio_output_policy.conf

FAILED to read /vendor/etc/audio_io_policy.conf

FAILED to read /system/etc/audio_policy.conf

reading /vendor/etc/audio_policy.conf

has outputs_primary, sampling_rates=44100|48000|96000|192000

...

 

 

 

Link to comment
Share on other sites

2 hours ago, Somnath Khole said:

tell me Something New This Things are already known.

Then why are you asking? @6b6561 replied to your post

15 hours ago, Somnath Khole said:

As I Said Am Seen That Poweramp Unable to Detect Audio_Output_Policy.Conf

questioning why the configuratin cannot be found, but clearly that is not the case as this further info was already confirmed on your device by Poweramp.

15 hours ago, Somnath Khole said:

reading /vendor/etc/audio_policy.conf

has outputs_primary, sampling_rates=44100|48000|96000|192000

has outputs/primary formats=AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_16_BIT

has primary formats=AUDIO_FORMAT_PCM_32_BIT|AUDIO_FORMAT_PCM_16_BIT

has usb

has usb outputs

has usb_device, sampling_rates=dynamic

has usb formats=dynamic

forcing FLAG_VARIANT_MTK_HIFI

USB can handle Hi-Res - sdk=34

>>>OK flags=0xd84c01c00400000

FLAG_VARIANT_MTK_HIFI

FLAG_FORCE_PCM_8_24

FLAG_SUPPORTS_USB

FLAG_SUPPORTS_FLT_DYN_RANGE

FLAG_ASK_AF_SAMPLE_RATE

FLAG_ASK_AF_FORMAT

FLAG_SUPPORTS_LDAC

FLAG_ALLOW_DVC_EFFECT

PA_OUTPUT_CAP_DELAYED_FORMAT

INTERNAL_OUTPUT_FLAG_SR_192K

INTERNAL_OUTPUT_FLAG_SR_96K

INTERNAL_OUTPUT_FLAG_SR_48K

INTERNAL_OUTPUT_FLAG_SR_44K

 

Link to comment
Share on other sites

6 hours ago, Somnath Khole said:

No One Trying to Understand My Concern

Not true, there are many users here happy to help. But more accurate info would be helpful. It is not clear what you are looking for.

You can wait for others to reply if you like but you will probably get similar requests for more info.

Link to comment
Share on other sites

1 hour ago, Somnath Khole said:

but am Waiting For @andrewilley OR @maxmp

Ok. But know that @maxmp is the sole developer of Poweramp and spends much more of his time working on the app then answering here in the forum. His last post was in June. And while @andrewilley is the Moderator for the forum he is another user and doesn't work on app development. The majority of issues posted here are resolved by others helping where they have experience. If you prefer to wait for an answer directly from the developer you can potentially be waiting for a while. 

Link to comment
Share on other sites

You have been told the answer already by other users. Audio config files are placed in various different folder locations by different manufacturers. PA will look in all the usual places that it knows about, showing "failed" when a particular location is empty, or reading the content from it when a file is found. It can't read what isn't there.

In your device's case, the config info is stored in /vendor/etc/audio_policy.conf, which is what PA reads.

Andre

Link to comment
Share on other sites

@andrewilley As You Said PA Checks Config Availability From Different Paths.

2. But MediaTeK Devices With Hi-Res Wired And Wireless Certification[Internal DAC], Having issues With Hi-Res Output, Causing Low Volume, Cutting Sound Above 96kHz Sample Rate

Is MTK Not Compatible For Hi-Res Output ?

Request : Please Add Lyrics Tag Editor Option in PA.

Link to comment
Share on other sites

13 hours ago, Somnath Khole said:

Is MTK Not Compatible For Hi-Res Output ?

Possibly, but please keep to one issue per thread as several devices have been mentioned here. If the Experimental High-Res feature does not work well for your device, use a different output method (e.g. AAudio, which is what I use).

Andre 

Link to comment
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
×
×
  • Create New...