Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Unreasonable delay when skipping tracks
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Unreasonable delay when skipping tracks  (Read 5447 times)

Offline Roseweave

  • Member
  • *
  • Posts: 19
Unreasonable delay when skipping tracks
« on: August 23, 2011, 01:34:43 PM »
It can take anywhere from a full second to not at all(which causes it to freeze if I pause/restart the track when I'm skipping in shuffle mode. I never have this problem with the OF, and it was significantly less of an issue with my Clip+.

I've tried removing unnecessary tags etc. but it hasn't really helped much. I don't understand why the OF has no issue with this, but Rockbox struggles.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unreasonable delay when skipping tracks
« Reply #1 on: August 23, 2011, 01:36:38 PM »
Which player?
Logged

Offline Roseweave

  • Member
  • *
  • Posts: 19
Re: Unreasonable delay when skipping tracks
« Reply #2 on: August 25, 2011, 03:31:58 PM »
Sorry, Sansa Fuze v1
Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Unreasonable delay when skipping tracks
« Reply #3 on: August 26, 2011, 06:08:45 AM »
Album art can cause significant delays in loading a track not already in the buffer.
Logged

Offline Roseweave

  • Member
  • *
  • Posts: 19
Re: Unreasonable delay when skipping tracks
« Reply #4 on: September 27, 2011, 11:53:56 AM »
I don't think it's due to that. Is there a way to disable Album Art just in case?

This is really very b ad as it causes the unit to lock up regularly.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unreasonable delay when skipping tracks
« Reply #5 on: September 27, 2011, 12:13:59 PM »
If you grab a couple test files from here:

http://download.rockbox.org/test_files/

Does the problem still occur?
Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Unreasonable delay when skipping tracks
« Reply #6 on: September 27, 2011, 01:35:23 PM »
Quote from: Roseweave on September 27, 2011, 11:53:56 AM
I don't think it's due to that. Is there a way to disable Album Art just in case?

This is really very b ad as it causes the unit to lock up regularly.

Make sure HAVE_ALBUMART is not defined in firmware/export/config/sansafuze.h and build.
Logged

Offline Roseweave

  • Member
  • *
  • Posts: 19
Re: Unreasonable delay when skipping tracks
« Reply #7 on: September 28, 2011, 10:58:32 AM »
Quote from: jhMikeS on September 27, 2011, 01:35:23 PM
Quote from: Roseweave on September 27, 2011, 11:53:56 AM
I don't think it's due to that. Is there a way to disable Album Art just in case?

This is really very b ad as it causes the unit to lock up regularly.

Make sure HAVE_ALBUMART is not defined in firmware/export/config/sansafuze.h and build.

Please don't make the assumption everyone has an environment set up for compiling... it's been years since I've done so...

Post Merge: September 28, 2011, 10:59:16 AM
Quote from: saratoga on September 27, 2011, 12:13:59 PM
If you grab a couple test files from here:

http://download.rockbox.org/test_files/

Does the problem still occur?

I don't understand the purpose of these test files and how to use them? They're just regular audio files, why would they be any different?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Unreasonable delay when skipping tracks
« Reply #8 on: September 28, 2011, 11:08:07 AM »
You asked for a way to disable album art. He told you the only way that currently exists. He wasn't assuming you can compile so much as indicating it can only be done if you can compile. Album Art isn't really considered something you can enable or disable - tags in your files are assumed to be there intentionally.

As for the sample files, they're regular audio files that we specifically know how were created. If the problem can be reproduced with them that might help provide some information, or make it easier for other people to try to reproduce the problem. Given that most other people aren't reporting this problem, the first guess is always "maybe there's something different about the files being played, how can we narrow this down?"
« Last Edit: September 28, 2011, 11:09:54 AM by Llorean »
Logged

Offline Roseweave

  • Member
  • *
  • Posts: 19
Re: Unreasonable delay when skipping tracks
« Reply #9 on: September 28, 2011, 11:10:59 AM »
Okay, what the hell.

I checked Directory Cache to be on the safe side. When I enable it -

*PANIC*

audio_reset_buffer_noalloc():E0M(3700 > 36720)

Sigh. I'll try older firmware.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unreasonable delay when skipping tracks
« Reply #10 on: September 28, 2011, 11:16:51 AM »
Quote from: Roseweave on September 28, 2011, 10:58:32 AM
They're just regular audio files, why would they be any different?

Thats what I'm hoping you can tell us :)
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Unreasonable delay when skipping tracks
« Reply #11 on: September 28, 2011, 11:25:00 AM »
In another thread on this problem, Roseweave said:

Quote
What also bothers me is when I load on tracks when it's connected to USB in Rockbox mode, it'll power itself off.

If your player crashes or disconnects during USB mode, you can corrupt the files on it or even the entire filesystem.  It might be a good idea to reformat it, load the test tracks I linked above, and see if the problem still occurs. 
Logged

Offline Roseweave

  • Member
  • *
  • Posts: 19
Re: Unreasonable delay when skipping tracks
« Reply #12 on: September 28, 2011, 12:12:35 PM »
I loaded older firmware and turned Directory Caching on, but there's still a notable delay.

I'll try the test files later but I'm sceptical if it would make any different, all tracks seems to have at least a 1 sec delay when skipping regardless.
Logged

Offline jimbilly

  • Member
  • *
  • Posts: 44
Re: Unreasonable delay when skipping tracks
« Reply #13 on: September 28, 2011, 10:28:56 PM »
wouldn't using a theme with no album art 'disable' album art?   have you tried such a theme to see if skipping is faster?

Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Unreasonable delay when skipping tracks
« Reply #14 on: September 28, 2011, 10:50:02 PM »
Quote from: jimbilly on September 28, 2011, 10:28:56 PM
wouldn't using a theme with no album art 'disable' album art?   have you tried such a theme to see if skipping is faster?



You know, I'm not sure it would. Playback requests album art, not WPS and playback calls the functions to look for it no matter what. Whether somewhere down deep the AA search functions check the UI for appropriate tags, I've no idea.

The alternate way that doesn't require compiling is to use files stripped of AA and make sure no AA images exist in the music directory. At least that way it fails to locate any which would at least be faster than decoding the images.

Logged

  • Print
Pages: [1] 2 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Audio Playback, Database and Playlists
| | |-+  Unreasonable delay when skipping tracks
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.094 seconds with 15 queries.