AIMP Forum

AIMP for Android => Предложения / Suggestions => Topic started by: Fadlizamir on October 06, 2025, 11:02:04

Title: Can AIMP add Feature From Hiby Player APK
Post by: Fadlizamir on October 06, 2025, 11:02:04
Hello Team AIMP and The Others in this forum, may i request for better AIMP can add feature on Hiby Player APK  like Exclusive HQ USB Audio Access. Maybe its help experience for user AIMP enjoying listening Audio With DAC 🙏🙇
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Artem on October 07, 2025, 08:22:10
Exclusive HQ USB Audio Access

Do you have any documentation how do this? Because Android does not have API to do that.
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Fadlizamir on October 07, 2025, 09:06:25
Its from hiby player app on playstore. Maybe if team AIMP can add this feature to AIMP apk it will be awesome

https://www.apkmirror.com/apk/hibymusic/hiby-music/
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Алексей Долматов on October 07, 2025, 10:57:58
Do you have any documentation how do this? Because Android does not have API to do that.
Судя по обсуждению обозначенного плеера и сходных ему Tidal, Uapp, Onkyo player, это переименованная в PC-стиль функция Bit-Perfect. При этом упоминается, что разработчики UAPP сделали три варианта: через системы Android, через usb DAC или через Bit-Perfect.
https://source.android.com/docs/core/audio/preferred-mixer-attr
Официально, с Android 14. Насколько понял, подключаемое устройство должно уметь в MQA, а может и телефон должен поддерживать Hi-res audio. По документации написано немного иначе, но смысл схож.
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Laronga996 on October 07, 2025, 23:21:17
The feature is to ensure bit perfect output skipping the phone processing because android tends to limit audio quality for processing and battery saving sake. On android 14 beta 2 they introduced a way for apps to skip this but AFAIK is not by default, the app has to request this otherwise the output gets limited also the Exclusive HQ USB Audio Access allows to use the volume control and other buttons the connected external DACs might have. FiiO app https://www.fiio.com/app and USB Audio Player Pro https://www.extreamsd.com/index.php/products/usb-audio-player-pro also have this feature

Lossless USB audio
Android 14 gains support for lossless audio formats for audiophile-level experiences over USB wired headsets. You can query a USB device for its preferred mixer attributes, register a listener for changes in preferred mixer attributes, and configure mixer attributes using a new AudioMixerAttributes class. It represents the format, such as channel mask, sample rate, and behavior of the audio mixer. The class allows for audio to be sent directly, without mixing, volume adjustment, or processing effects. We are working with our OEM partners to enable this feature in devices later this year.

https://developer.android.com/reference/android/media/AudioMixerAttributes
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Artem on October 07, 2025, 23:49:14
Lossless USB audio
Android 14 gains support for lossless audio formats for audiophile-level experiences over USB wired headsets. You can query a USB device for its preferred mixer attributes, register a listener for changes in preferred mixer attributes, and configure mixer attributes using a new AudioMixerAttributes class. It represents the format, such as channel mask, sample rate, and behavior of the audio mixer. The class allows for audio to be sent directly, without mixing, volume adjustment, or processing effects. We are working with our OEM partners to enable this feature in devices later this year.

I have tried this API, it doesn't work with external DAC
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Laronga996 on October 08, 2025, 05:43:23
if it does not work with an external DAC with what is it supposed to work with?
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Fadlizamir on October 08, 2025, 19:52:38
I have tried this API, it doesn't work with external DAC

What DAC you use sir? DAC celest Ruyi or Celest CD2?
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Artem on October 08, 2025, 21:28:44
I have tried with Fiio k5 and iBasso DAC. It works with USB player pro, but doesn't work with these api
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Алексей Долматов on October 08, 2025, 22:05:16
I have tried with Fiio k5 and iBasso DAC. It works with USB player pro, but doesn't work with these api
https://madhifi.ru/shop/amplifiers/preliminary-amplifiers/fiio-k5-pro/
DSD поддерживается, MQA не поддерживается.

С iBasso тоже как-то неоднозначно. Где-то пишут работает, где-то нет. Похоже, зависит не только от модели iBasso, но и от самого телефона.
https://www.reddit.com/r/TIdaL/comments/x4fszo/ibasso_dc06_wont_output_mqa_for_tidal_masters/?tl=ru
https://www.reddit.com/r/HeadphoneAdvice/comments/ovx594/ibasso_dc04_for_meze_99/?tl=ru
Отдельно посмотрел dc07pro и по спецификации нельзя однозначно сказать о поддержке атрибута. По спецификации чипа тоже не указано (не нашёл прямого упоминания).
https://ibasso.com/product/dc07pro/
https://www.cirrus.com/products/cs43131



По идее, на этапе проверки атрибутов (PreferredMixerAttributesTestActivity.java) должен быть ответ поддерживают подключенные устройства этот метод или нет.
Потенциально, попробовать реализовать экспериментальную опцию вида "Предпочитать Bit-Perfect, если поддерживается (экспериментально)". Пользователи самостоятельно её могут включить и протестировать на своих устройствах. В журнал плеера записывать результат работы функции, если журналирование включено.



Каким образом это реализовано в других плеерах непонятно. Могут использовать недокументированные методы и "грязные" методы в обход официальных способов обработки звука. Не уверен, что есть возможность сделать реверс-инженеринг или что-то подобное для других приложений. Да и их лицензии на использование могут запрещать такое, не учитывая законодательство.
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Artem on October 08, 2025, 22:10:03
С iBasso тоже как-то неоднозначно. Где-то пишут работает, где-то нет. Похоже, зависит не только от модели iBasso, но и от самого телефона.
https://www.reddit.com/r/TIdaL/comments/x4fszo/ibasso_dc06_wont_output_mqa_for_tidal_masters/?tl=ru
https://www.reddit.com/r/HeadphoneAdvice/comments/ovx594/ibasso_dc04_for_meze_99/?tl=ru
Отдельно посмотрел dc07pro и по спецификации нельзя однозначно сказать о поддержке атрибута. По спецификации чипа тоже не указано (не нашёл прямого упоминания).
https://ibasso.com/product/dc07pro/
https://www.cirrus.com/products/cs43131

Да в том-то и дело, что нормального апи нет. оно всегда где-то работает, где-то нет.
Title: Re: Can AIMP add Feature From Hiby Player APK
Post by: Алексей Долматов on October 08, 2025, 22:11:26
Похоже, что можно найти устройства с MQA, но только для тестов покупать как-то дороговато.
https://hifigo.com/collections/mqa
https://hifigo.com/products/hidizs-xo (99$ или чуть больше 8 тыс. по курсу сайта).