Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Sound Tweak Rpi4
#86
@philrandal

I don't disagree with what you said but I was strongly influenced by the documentation language such as "The input cache prefetches queued song files before they are going to be played", "by prefetching several songs at a time..." and "bulk transfers may be faster and more energy efficient than loading small chunks on-the-fly".

I don't think the docs make sense now that I've reread the section and I'll be interested to hear what you make of the code itself.

Practically, I don't notice any particular advantage to the cache when, for example, I play three consecutive tracks in the queue one after the other and then jump back to the first. I'd expect the first track to start quicker because it's still cached. I believe it is because the mem usage kept growing with each track. Didn't notice an improvement.

This suggests to me the cache need not be very big if size confers no advantage.

I can't help also but wonder what and how good the garbage collection routine is ("If the cache grows larger than that, older files will be evicted.")

Somehow a circular buffer would seem like a desirable solution.

Regards,
Kent
Reply


Messages In This Thread
Sound Tweak Rpi4 - by largo - 07-14-2020, 04:14 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 12:12 AM
RE: Sound Tweak Rpi4 - by largo - 07-15-2020, 07:20 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 05:06 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-16-2020, 06:48 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-15-2020, 12:25 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 12:44 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 02:20 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-15-2020, 01:01 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-15-2020, 06:30 PM
RE: Sound Tweak Rpi4 - by Dradder - 07-15-2020, 06:47 PM
RE: Sound Tweak Rpi4 - by sjoerdju - 07-17-2020, 10:09 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-15-2020, 08:25 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-16-2020, 10:19 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 02:25 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-17-2020, 11:26 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 12:24 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-19-2020, 07:28 AM
RE: Sound Tweak Rpi4 - by philrandal - 07-19-2020, 09:28 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 05:09 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-19-2020, 05:31 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-17-2020, 12:59 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-17-2020, 01:14 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-17-2020, 05:01 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-17-2020, 01:08 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-18-2020, 03:44 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-19-2020, 08:06 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 08:33 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-19-2020, 08:56 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-19-2020, 09:16 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-20-2020, 11:19 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 11:57 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-20-2020, 12:45 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-20-2020, 07:01 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 11:27 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-21-2020, 01:47 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-19-2020, 10:53 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-19-2020, 11:07 PM
RE: Sound Tweak Rpi4 - by Rinaldi - 07-20-2020, 12:57 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 04:27 AM
RE: Sound Tweak Rpi4 - by grasshopper - 07-20-2020, 11:26 AM
RE: Sound Tweak Rpi4 - by efung - 07-20-2020, 08:32 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 09:30 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-20-2020, 01:19 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 02:37 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-20-2020, 03:37 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-20-2020, 02:54 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 04:32 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-20-2020, 06:07 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-20-2020, 11:01 PM
RE: Sound Tweak Rpi4 - by efung - 07-21-2020, 01:47 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-21-2020, 03:01 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-21-2020, 12:07 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 12:22 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-21-2020, 12:48 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 01:35 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-21-2020, 03:17 AM
RE: Sound Tweak Rpi4 - by hifinet - 07-21-2020, 02:51 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-22-2020, 12:54 AM
RE: Sound Tweak Rpi4 - by Smallwire - 07-21-2020, 09:04 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-22-2020, 05:19 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-21-2020, 02:42 AM
RE: Sound Tweak Rpi4 - by philrandal - 07-21-2020, 11:40 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-21-2020, 11:59 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 10:50 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-23-2020, 08:12 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 01:03 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 01:09 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 01:12 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 01:33 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 02:21 PM
RE: Sound Tweak Rpi4 - by hestehandler - 07-22-2020, 02:30 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 02:40 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 02:43 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 03:07 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 03:25 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 03:39 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 03:46 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 06:49 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 07:05 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-22-2020, 07:29 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 07:52 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 08:01 PM
RE: Sound Tweak Rpi4 - by philrandal - 07-22-2020, 08:31 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-22-2020, 08:35 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-22-2020, 09:27 PM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-22-2020, 10:06 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-22-2020, 10:23 PM
RE: Sound Tweak Rpi4 - by efung - 07-22-2020, 10:59 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 07:25 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 09:04 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 09:58 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 10:00 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 10:08 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 10:32 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 10:48 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 11:00 AM
RE: Sound Tweak Rpi4 - by hestehandler - 07-23-2020, 12:05 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 12:04 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 12:16 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-23-2020, 12:18 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 08:48 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-23-2020, 12:21 PM
RE: Sound Tweak Rpi4 - by swizzle - 07-23-2020, 06:51 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-23-2020, 12:27 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-23-2020, 01:39 PM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-23-2020, 02:43 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 11:05 AM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 06:09 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-25-2020, 09:26 AM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 06:15 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 06:38 PM
RE: Sound Tweak Rpi4 - by kit1cat - 07-24-2020, 06:47 PM
RE: Sound Tweak Rpi4 - by grasshopper - 07-25-2020, 09:46 AM
RE: Sound Tweak Rpi4 - by kit1cat - 07-25-2020, 10:16 AM
RE: Sound Tweak Rpi4 - by grasshopper - 07-25-2020, 05:09 PM
RE: Sound Tweak Rpi4 - by DRONE7 - 07-24-2020, 07:05 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-24-2020, 07:45 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 12:30 AM
RE: Sound Tweak Rpi4 - by TheOldPresbyope - 07-25-2020, 12:37 AM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-25-2020, 01:22 AM
RE: Sound Tweak Rpi4 - by the_bertrum - 07-25-2020, 09:57 AM
RE: Sound Tweak Rpi4 - by boucher - 07-25-2020, 07:19 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 07:31 PM
RE: Sound Tweak Rpi4 - by boucher - 07-25-2020, 08:57 PM
RE: Sound Tweak Rpi4 - by hifinet - 07-25-2020, 09:52 PM
RE: Sound Tweak Rpi4 - by Tim Curtis - 07-25-2020, 09:05 PM
RE: Sound Tweak Rpi4 - by wkloppen - 10-31-2024, 08:40 AM
RE: Sound Tweak Rpi4 - by wkloppen - 10-31-2024, 09:10 AM
RE: Sound Tweak Rpi4 - by Snoil - 03-31-2025, 07:15 AM

Forum Jump: