Delay using SelectStream to change track on FLAC player. #2163
-
Hi @pschatzmann. I've implemented SD_MMC now FLAC plays well. I´m using AudioSourceIdxSDMMC source. I´ve observed a delay stepping some files when I use source.selectStream(..) to change track. Is possible to know when source.SelectStream has finished? I undestand that selectStream try to search the track that I´ve indicated and that process required a concrete time. if I start to player.COPY without selectStream process finished, player freezed. Any idea for solution? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi again. The problem was in player.begin(..) I´ve added this code that works fine with FLACs where files are very big,
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Appears that the problem is in player.begin() I'm waiting until player.begin is true but sometimes freez the player. This issue only occurs in FLAC player with 30Mb around file size. |
Beta Was this translation helpful? Give feedback.
-
Any error. Only delay sometimes playing FLAC files using player.begin(..) without review if .begin finished. If begin is reviewed there is not problem. |
Beta Was this translation helpful? Give feedback.
What error messages or warnings would you get in the Log when it is failing ?
I added some more error checks to the SDIndex class