RU
EN
Main Page
Download
Addons
Forum
Blog
Feedback
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
News:
AIMP v5.30
AIMP Forum
»
AIMP for Android
»
Questions
»
[SOLVED] continue to play with display switched off
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [SOLVED] continue to play with display switched off (Read 4793 times)
0 Members and 1 Guest are viewing this topic.
[SOLVED] continue to play with display switched off
«
on:
October 14, 2021, 12:49:30 »
mnh6
Новичок
Posts: 6
Карма: +0/-0
When 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.
How to make it play with display switched off? Is there an option for it?
I use 2.90 version on android 4.1.2.
Do new versions of Aimp have this option?
«
Last Edit: October 17, 2021, 18:35:44 by mnh6
»
Logged
Re: continue to play with display switched off
«
Reply #1 on:
October 14, 2021, 13:53:15 »
Artem
Администратор
Супермен
Posts: 15419
Карма: +2892/-55
Its related to energy saving setting of Android, not to player
Logged
Re: continue to play with display switched off
«
Reply #2 on:
October 14, 2021, 14:38:06 »
mnh6
Новичок
Posts: 6
Карма: +0/-0
Even when I swith off battery saving it stops playing.
Other players, for example VLC can play with display switched off. Actually, phone saves more energy when player can play with display switched off.
Would it be possible to introduce this feature in Aimp?
Logged
Re: continue to play with display switched off
«
Reply #3 on:
October 14, 2021, 14:50:26 »
Artem
Администратор
Супермен
Posts: 15419
Карма: +2892/-55
Modern version of player works fine in background.
Logged
Re: continue to play with display switched off
«
Reply #4 on:
October 14, 2021, 17:16:06 »
mnh6
Новичок
Posts: 6
Карма: +0/-0
Can you please tell me, starting from which version Aimp has this feature and is it an option that needs to be enabled or default feature?
I see that different Aimp versions work on different Android versions, so I'd like to know what Android version I should look for in the first place.
I need to use this (along with other Aimp feature) for language learning, so it is crucial feature for me.
Logged
Re: continue to play with display switched off
«
Reply #5 on:
October 14, 2021, 20:05:17 »
Artem
Администратор
Супермен
Posts: 15419
Карма: +2892/-55
It seems the wake lock API that provides an ability to prevent the device from deep sleep was introduced in Android 4.0, so it should work on your device too
Have you tried to set up the high CPU priority option in app settings in sound tab?
Logged
Re: continue to play with display switched off
«
Reply #6 on:
October 15, 2021, 11:37:13 »
mnh6
Новичок
Posts: 6
Карма: +0/-0
I enabled CPU priority option. But this is not the factor that makes change.
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.
So I have:
Allow Cross-fading: yes (enabled)
Cross-fade length, msec: 0
Pause between tracks, msec: 3000
And with these settings it doesn't work.
That's a pity because 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.
Would be great if you could make Aimp work with screen locked (black screen) even when Allow Cross-fading is enabled.
Edition:
Solution from here works.
https://www.aimp.ru/forum/index.php?topic=67783.msg416840#msg416840
«
Last Edit: October 17, 2021, 18:35:25 by mnh6
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
AIMP Forum
»
AIMP for Android
»
Questions
»
[SOLVED] continue to play with display switched off