Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Something
Sunday, March 9th, 2008 at 7:40:44pm UTC 

  1. Index: apps/tagcache.c
  2. ===================================================================
  3. --- apps/tagcache.c     (revision 16593)
  4. +++ apps/tagcache.c     (working copy)
  5. @@ -3794,10 +3794,10 @@
  6.  # ifdef HAVE_DIRCACHE
  7.      while (dircache_is_initializing())
  8.          sleep(1);
  9. +
  10. +    dircache_set_appflag(DIRCACHE_APPFLAG_TAGCACHE);   
  11.  # endif
  12.      
  13. -    dircache_set_appflag(DIRCACHE_APPFLAG_TAGCACHE);
  14. -   
  15.      logf("loading tagcache to ram...");
  16.      
  17.      fd = open(TAGCACHE_FILE_MASTER, O_RDONLY);
  18. Index: apps/playback.c
  19. ===================================================================
  20. --- apps/playback.c     (revision 16593)
  21. +++ apps/playback.c     (working copy)
  22. @@ -570,7 +570,7 @@
  23.      if (!filename)
  24.          filename = "No file!";
  25.  
  26. -#ifdef HAVE_TC_RAMCACHE
  27. +#if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE)
  28.      if (tagcache_fill_tags(&temp_id3, filename))
  29.          return &temp_id3;
  30.  #endif
  31. Index: firmware/export/config.h
  32. ===================================================================
  33. --- firmware/export/config.h    (revision 16593)
  34. +++ firmware/export/config.h    (working copy)
  35. @@ -308,8 +308,10 @@
  36.  /* Enable the directory cache and tagcache in RAM if we have
  37.   * plenty of RAM. Both features can be enabled independently. */
  38.  #if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \
  39. - !defined(BOOTLOADER) && !defined(SANSA_E200) && !defined(SANSA_C200)
  40. + !defined(BOOTLOADER)
  41. +#if !defined(SANSA_E200) && !defined(SANSA_C200)
  42.  #define HAVE_DIRCACHE
  43. +#endif
  44.  #ifdef HAVE_TAGCACHE
  45.  #define HAVE_TC_RAMCACHE
  46.  #endif

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right