-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio cuts and jumps on Mobile #39
Comments
How many songs did you load into the library? |
How many songs: Around 607 |
This can be a memory management problem or maybe CPU? I will look into this. |
Or perhaps there is some stream parsing problem. Can you send one file on which it was occurring for testing? Edit: Is it occurring on PC? |
I don't think it's the audio file, because PC bread player can play it with no issue Here's the original file (hosted on OneDrive not here bc copyright maybe) Here's that file played on Bread Player on Mobile |
It happens for a lot of songs not just a particular one and even on headphones, at least for me. |
@DannyTalent @MightyK1337 As it doesn't happen in the emulator, I have uploaded a test package Here's the direct link (Mobile Only): Alpha-1.6.1-test Basically, I removed SMTC as I suspect that is what's causing the issue. I could be wrong though. |
True. I could reproduce it on the last alpha, but not on the new one Side note: The first time I tried to play a song, the app crashed |
As I suspected! I will try a few things to fix this without removing SMTC. |
@DannyTalent Please test this one out: Alpha-1.6.1-test-2 Side note: You may experience cuts and jumps in the background. Aside from that, SMTC will now be working flawlessly (I hope). |
@DannyTalent How's the new alpha-test working? |
Crap, I forgot to check this issue, and my email, sorry! EDIT: There's still the issue where closing the app also stops music playback |
Oh yes, I fixed that issue. About the cuts and jumps, I am glad that it occurs way less now but it still does so I will have to tweak some other things as well. I have a question: In which state does it occur more? Background or foreground? |
Definitely on the background. Playing a game (candy crush soda so it's ported, and a bit resource intensive) I noticed it happening, as well as while browsing on Edge. |
@DannyTalent Is this still present in 1.7-alpha? |
It does happen, not much, but it's quite inconsistent... Sometimes it will work with a few jumps for several minutes and sometimes the audio just gets fubar... But it's only happened to me once, when the phone was quite hot |
@DannyTalent I reproduced this on the emulator and it happens regardless of the SMTC. I think this issue is caused by high resource usage or low memory limit. Though, I wasn't able to get any message regarding low memory limit reached etc. I think, on the background the app is given less memory and cpu because of which the audio stream buffering is slow, and audio cuts and jumps. I will consult this with BASS devs, maybe they have something... |
I think there's a task manager-esque app that shows you, though it needs some special access.. I'll report anything I can if I do find it |
@DannyTalent I did some of my own testing and it seems I am right. The OS puts a CPU limit on the player or maybe the BASS does that itself. Anyways, I saw > 2% usage of BASS on the foreground while on the background it was < 1%. So I am now sure where the problem is. |
@DannyTalent Please give this one a try again in the latest alpha. I am hoping this is fixed now... |
Yep, mostly fixed. I did notice a small cut during a game's loading screen, so it may be a read speed issue?? I wouldn't know, but during the game it didn't happen again |
Can you give it a stress test? Like try loading heavy websites while song plays in background. Play some game (The ported Candy Crush 😉 ). I need to know if the config we have now will remain good under stressful conditions. |
I tried the digrace of an app that they call Facebook Messenger, and didn't have any problems, again, a single jump while loading, but never again. I did however, found a bug I'll post about in a sec |
(Optimization?) Lumia 735, experiencing audio cuts and sometimes quick jumps, frequently. The phone doesn't have many apps opened, no more than normal.
Happens both with the app on screen (happens just as much) and background
The text was updated successfully, but these errors were encountered: