Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: viggen66 on January 05, 2017, 06:03:38 AM

Title: Pauses on audio playback
Post by: viggen66 on January 05, 2017, 06:03:38 AM
Dear All,

I don't know if you have this bug, but on latest firmwares, on both devices, Sansa clip+ and Creative Zen, the audio playback pauses from now and then, like in the middle of the music it halts for a second and continues, also I notice that menus aren't responsive, like the feeling the cpu is using at its maximum, and can't handle the audio playback or handling menus, only way to get back to control is to attach an USB cable to a computer to complete stop the playback and now the menus start to respond.

Has anyone else has this bug? I have tried upgrading to the latest firmware and the bug is still there.
Title: Re: Pauses on audio playback
Post by: johnb on January 05, 2017, 06:18:03 AM
Have you verified this with a fresh/empty config.cfg file?
Title: Re: Pauses on audio playback
Post by: viggen66 on January 05, 2017, 06:34:15 AM
I delete completely the previous fw, like I download new .rockbox and start from there.
Title: Re: Pauses on audio playback
Post by: saratoga on January 05, 2017, 04:12:08 PM
Downloading a new build doesn't delete the config file. Did you also do that?

Also, what file types? And exact build number?
Title: Re: Pauses on audio playback
Post by: viggen66 on January 05, 2017, 04:55:38 PM
Thanks all for the replies, my build version is 3190728, downloaded just today, it happens on mp3 files, don't know if this helps, but the album is record on 320kbps, don't know if it is the cause of it, but it gives the feeling the cpu is being used to its maximum strength, and all the system becomes extremely slow, not able to playback correctly and the menus not responsible.
Title: Re: Pauses on audio playback
Post by: Mihail Zenkov on January 05, 2017, 05:45:23 PM
If you play from sd card - try play from internal flash.
Title: Re: Pauses on audio playback
Post by: viggen66 on January 06, 2017, 02:08:56 PM
Hi there, I have found an mp3 that it happens everytime I run it, after a few seconds the menus don't respond and audio pauses during the playback.

I will upload as test subject.

https://mega.nz/#!VtJEHayS!uddac0yoVJh7QMV0mZd27iYKXtDST9Ts5J94C6aRFi8

Don't know if someone here likes Depeche Mode, this is just a demo, because this happens with other mp3 files.

Just recharged the battery to full, and it happens.

Thanks
Title: Re: Pauses on audio playback
Post by: johnb on January 06, 2017, 04:22:33 PM
Works for me. Just downloaded latest dev build.
Title: Re: Pauses on audio playback
Post by: viggen66 on January 07, 2017, 10:07:51 AM
Even with latest firmware, the problem remains, are you tried using the menus they start to not respond, just updated the bootloader with latest Creative Zen, and no solve.
Title: Re: Pauses on audio playback
Post by: johnb on January 07, 2017, 12:20:54 PM
Yes, navigated thru various menus, still responsive.
No pausing.
Title: Re: Pauses on audio playback
Post by: viceroy on May 24, 2017, 09:37:01 PM
I am experiencing this exact same problem since I updated to the latest release, did you manage to find a solution? The description is percisely what I am getting, cuts out for a couple of seconds, comes back, cuts again, all the while unresponsive when this happens. It happens with mp3 and playing from both the SD card and the internal flash.
Title: Re: Pauses on audio playback
Post by: saratoga on May 24, 2017, 09:39:28 PM
Which player?
Title: Re: Pauses on audio playback
Post by: viceroy on May 24, 2017, 09:46:43 PM
Sorry, clip+.
Title: Re: Pauses on audio playback
Post by: saratoga on May 24, 2017, 10:12:30 PM
If you go into system > debug > CPU frequency and then icrease the boost count above 1, does that make any difference?
Title: Re: Pauses on audio playback
Post by: viceroy on May 24, 2017, 10:29:07 PM
I will give that a try. I have just renamed my config file to start afresh and so far no issues but it's quite random so I will test it over the next few days and if it comes back I will try that suggestion.
Title: Re: Pauses on audio playback
Post by: viggen66 on July 28, 2017, 07:35:26 AM
Just returned to this thread, and tried the solution by Saratoga, it seems to fix the issue, don't know if cpu is kept on lower frequency to increase battery life, but it seems to handle the problem, if I encounter again this problem I will return and post my experience.
Title: Re: Pauses on audio playback
Post by: viceroy on July 28, 2017, 08:00:46 AM
This has started to happen to me again, I'm going to try the cpu frequency adjustment and see if that makes any difference.
Title: Re: Pauses on audio playback
Post by: viggen66 on July 28, 2017, 08:40:32 AM
It seems every time you boot the audio device, it turns again to frequency 0, is there a way to make it default 1 on boot?
Title: Re: Pauses on audio playback
Post by: saratoga on July 28, 2017, 10:37:30 AM
Does this clip+ build work any better?

web.mit.edu/mgg6/www/rockbox-3f54101858210c921e6d0039f29f649459a9a1a9v2.7z
Title: Re: Pauses on audio playback
Post by: viggen66 on July 28, 2017, 10:46:19 AM
Saratoga,

Thanks, actually the devices I'm using right now is Zen and Zen X-FI, I also have a CLIP+ which I can install that firmware, that workaround you told fixes the problem, for permanent fix would be to set cpu to 1 on boot.
Title: Re: Pauses on audio playback
Post by: saratoga on July 28, 2017, 04:10:18 PM
I don't know much about the Zen players, but if there is a problem with CPU frequency scaling on the clip I'd be interested in finding out more.
Title: Re: Pauses on audio playback
Post by: viggen66 on July 28, 2017, 05:07:42 PM
Do you know of any cfg file or similar, which address all settings of rockbox? We could manually set cpu frequency on that file, if possible.
Title: Re: Pauses on audio playback
Post by: saratoga on July 28, 2017, 05:10:05 PM
There is no persistent setting for frequency scaling. It is set at compile time.