Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Rouse HDD when playback is resumed even when the buffer is not empty yet (Read 782 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Rouse HDD when playback is resumed even when the buffer is not empty yet

I store music on a separate HDD which can be unused for long time. Sometimes it happens that I pause playback for a few hours, the system waits for some time minutes, and then turns HDD into power saving mode. When I resume playback, it starts to play immediately, because player's buffer was full. But foobar2000 doesn't try to rouse HDD in advance. It tries to read next chunk of data when buffer is almost empty, and it causes a long hiccup, because OS needs some time to wake the HDD up. foobar2000 could try to read a byte of currently playing file right after I resume playback, so the system would have some time to wake the HDD up before the next chunk of data is really required. So, if the foobar2000's buffer is big enough, the system will have enough time to wake the HDD up while foobar2000 plays something from its buffer.

Re: Rouse HDD when playback is resumed even when the buffer is not empty yet

Reply #1
Try to increase buffer in File->Preferences->Advanced->Playback->Buffering->Read ahead for local files

Re: Rouse HDD when playback is resumed even when the buffer is not empty yet

Reply #2
With bigger buffer, it will play a bit longer before HDD will start to turning on. I can hear when the HDD starts to work. It starts just after a few seconds of playback, right when playback is stuck. Before this, it seems like foobar2000 plays contents of the buffer.

Re: Rouse HDD when playback is resumed even when the buffer is not empty yet

Reply #3
The player could try to read end of current file or beginning of the next file to wake up the HDD after long pause, to avoid the potential hiccup.