|
Post by dirkliesenfeld on Nov 8, 2013 2:31:51 GMT -5
Hi there, I have an issue with some of my mp3s. If I do an automatic crossfade, there will be (after the transition is done) a lag of about half a second. Can you reproduce that? I have uploaded two mp3s. www.dropbox.com/sh/4fyszbaw2j9ja1m/7W0hqxDlHwIf you try to do the crossfade from 01. Nada Terma1 to 02. Nada Terma2 it should happen.
|
|
|
Post by GoneMAD on Nov 8, 2013 11:52:28 GMT -5
i can give it a look.. what kind of lag are you talking about.. the music just stops? or the seek bar behaves oddly? The seek bar is not 100% accurate especially in cases of crossfade.
Manual crossfades will "lag" in the sense that the crossfade does not start immediately.. this is due to the buffering that needs to be done for smooth playback.. but it sounds like this is not what you are referring to.
|
|
|
Post by dirkliesenfeld on Nov 8, 2013 13:24:58 GMT -5
The music will stop completely for about a half second, like this: 1) title1 plays 2) title 2 starts to play while crossfading with title 1 3) title1 is finished 4) and just in that moment, when title2 should keep on playing outside the crossfade, there will be half a second silence :-( 5) title2 will continue to play
I can reproduce that bug with certain combinations of mp3.
|
|
|
Post by dirkliesenfeld on Nov 8, 2013 13:40:27 GMT -5
Oh no, I just tried to reproduce the bug, and it doesn't happen anymore. Last week I had it several times... gnnnn.... I will repost, as soon as it happens again and I can pinpoint the exact conditions. Sorry to have bothered you... :-\
|
|
|
Post by GoneMAD on Nov 8, 2013 16:03:39 GMT -5
what device do you have?
|
|
|
Post by dirkliesenfeld on Nov 9, 2013 7:40:38 GMT -5
Note 2
|
|
dirk
New Member
Posts: 8
|
Post by dirk on Nov 20, 2013 4:07:55 GMT -5
O.K. I investegated further: The gap only happens, when the screen is off. I tried to raise the process-priority of playback and decoding, and it made no difference. I tried to make the playback buffer larger, which only made the gap larger. I finally reduced the playback buffer size to the second smallest, and that made a difference. I don't no if it solved the problem, or only makes the gaps to small to notice. Does this make any sense to the Dev?
|
|
|
Post by GoneMAD on Nov 20, 2013 10:16:42 GMT -5
So does it actually start to crossfade into the next song or just fades to silence? It sounds like its fading to silence (which happens if the next song isnt loaded) and then the next track loads up and starts playing once its buffer is filled. That would explain the longer / shorter delays when you change the buffer size
|
|
dirk
New Member
Posts: 8
|
Post by dirk on Nov 21, 2013 2:56:25 GMT -5
As I remember, it will not fade into silence. It will fade into the next song, and the moment when the crossfade is completed, there will be a small gap. song 1 - song2 starts while song1 fades - crossfade song1/song2 - song1 ends while song2 has 100% volume - gap - song2 continues.
|
|
|
Post by GoneMAD on Nov 21, 2013 7:45:01 GMT -5
are you running a custom rom or non default cpu governor? Also what version of android are you? If you are 4.2+ you can enable developer mode and take a bug report and email it to me the next time it happens
The note2 definitely has enough power. GMMP also uses a single audio buffer (unless 2 tracks are a different sample rate or channel count) so im pretty confused as to why there would be a gap since the next song's decoder is already pumping audio data into the buffer. On slow phones with high eq settings.. there can be some skips/pops around the time of the crossfade transition.. but its never a long gap
Try turning off the eq and see if the problem persists
|
|
dirk
New Member
Posts: 8
|
Post by dirk on Nov 21, 2013 7:54:38 GMT -5
I used to have stock 4.1.2, now I am on 4.3 custom. I will observe if the problem still persists. EQ was always off. I will send you the bug report, as soon as it happens again.
|
|
|
Post by GoneMAD on Nov 21, 2013 8:09:57 GMT -5
okay.. yea thats even more confusing if EQ is off as the audio pipeline is even more basic.. but yea hopefully the logs will show something
|
|