AIMP Forum

AIMP for Android => Предложения / Suggestions => Отказано / Rejected => Topic started by: mnh6 on October 17, 2021, 13:18:12

Title: [rejected] Allow Cross-fading with screen switched off (black screen)
Post by: mnh6 on October 17, 2021, 13:18:12
When I have "Allow Cross-fading" → "Pause between tracks" enabled and I press lock button and screen goes black Aimp continue to play only the current file. After that it stops playing. When I unlock the phone it starts playing again automatically.

I noticed that it plays with screen locked (black screen) only when option Sound → Mixing Settings →  Allow Cross-fading is off. When Allow Cross-fading is enabled Aimp doesn't play with screen locked.

Please make it play with display switched off.

So I have:
Allow Cross-fading: yes (enabled)
Cross-fade length, msec: 0
Pause between tracks, msec: 3000

I checked on version 2.90 on android 4.1.2.

I enabled CPU priority option. But this is not the factor that makes change.

I wanted to use Aimp just because of its ability to set pause between tracks. It is very useful when I learn a language. I listen a sentence and repeat when there is a pause.

Title: Re: Allow Cross-fading with screen switched off (black screen)
Post by: Artem on October 17, 2021, 13:23:26
Sorry, but v2.90 and Android 4 no longer supported
Title: Re: [rejected] Allow Cross-fading with screen switched off (black screen)
Post by: Impulse on October 17, 2021, 13:50:35
Please make it play with display switched off.

Вы уже писали об этом в другом сообщении https://www.aimp.ru/forum/index.php?topic=67758.msg416715#msg416715 .

Ответ на этот вопрос был предложен уже не раз.
Решение данной проблемы - можно применять программу "Wake Lock" (for Android) версия, например, 2.1. Права суперпользователя для этой программы не нужны. Программа эта может помочь работать плееру при выключенном экране.  В настройках этой программы нужно выбрать вариант "PARTIAL_WAKE_LOCK" (должно отображатся 5 прямоугольника). Если программа не будет работать, то нужно убедится, отображаются ли 5 прямоугольника в программе "Wake Lock" (for Android)" . Но нужно иметь ввиду, что включение режима  "PARTIAL_WAKE_LOCK"  (в программе "Wake Lock") может приводить к незначительному увеличению скорости разряда батареи. Поэтому рекомендуется включать этот режим только на время необходимости.


Google translator

You have already written about it in another message https://www.aimp.ru/forum/index.php?topic=67758.msg416715#msg416715.

The answer to this question has already been offered more than once.
Solving this problem - you can apply the program "Wake Lock" (for Android) version, for example, 2.1. Superuser's rights for this program are not needed. This program can help work the player when the screen is turned off. In the settings of this program you need to select the "partial_wake_lock" option (5 rectangle should be displayed). If the program does not work, then you need to be sure if 5 rectangles are displayed in the Wake Lock program (for Android).  But it should be borne in mind that the inclusion of the "partial_wake_lock" mode (in the "Wake Lock" program) can lead to a minor increase in the battery discharge speed. Therefore, it is recommended to include this mode only for the time of necessity.

(https://c.radikal.ru/c20/2110/c5/147267af29dd.png)

Title: Re: [rejected] Allow Cross-fading with screen switched off (black screen)
Post by: mnh6 on October 17, 2021, 18:33:10
@Impulse
This solution works with the setting that is on your screenshot. Problem solved.

I am extremely grateful because I will be able to learn foreign languages more effectively.

Thank you very much.