Hydrogenaudio Forums

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: boxerfan88 on 2019-10-27 12:07:14

Title: Question on advanced preferences
Post by: boxerfan88 on 2019-10-27 12:07:14
1. What is the difference between "Read-ahead for local files" and "Full file buffering up to"?

2. As the current song nears the end, does "Read-ahead for local files" begin to read ahead the next song?



//
Title: Re: Question on advanced preferences
Post by: Daeron on 2019-10-27 23:01:49
Read-ahead = automatically load the next part of the song before it's needed.
Full file buffering = load the entire song automatically (assuming it's small enough).

Not sure on whether it applies to the next song.
Title: Re: Question on advanced preferences
Post by: boxerfan88 on 2019-11-02 23:08:50
Would be good to know if foobar2000 will read ahead the next song while the previous song is finishing...

Reason for asking, I notice for high sample rate tracks (>=96kHz) there is a slight pause between songs (ie. not gap-less).
I do not observe this issue with standard 44.1kHz tracks.
Title: Re: Question on advanced preferences
Post by: lvqcl on 2019-11-02 23:19:44
What's your buffer length?  (Preferences - Playback - Output - Buffer Length) Try to increase it.
Title: Re: Question on advanced preferences
Post by: darkflame23 on 2019-11-03 10:42:28
I get gapless even with 192kHz albums, with standard 1000ms buffer.
Title: Re: Question on advanced preferences
Post by: Case on 2019-11-03 19:07:09
The settings OP has could easily break gapless playback with slow media. Full file buffering is silliness and should never be used. With his settings playback can halt if the output buffer runs empty while the decoding thread is stuck waiting for the next file to be fully loaded.
Title: Re: Question on advanced preferences
Post by: boxerfan88 on 2019-11-04 12:19:06
What's your buffer length?  (Preferences - Playback - Output - Buffer Length) Try to increase it.

Default 1000ms. Thanks for the tip, I will try increasing this and test.
Title: Re: Question on advanced preferences
Post by: boxerfan88 on 2019-11-04 12:32:01
What's your buffer length?  (Preferences - Playback - Output - Buffer Length) Try to increase it.

I increased to 1500ms and I got back my gap-less playback!
The "full file buffering up to" parameter does impact how much additional buffer length is required to achieve gap-less playback.
Many thanks once again for the pointer!!
Title: Re: Question on advanced preferences
Post by: fuffi on 2019-11-06 22:53:36
I have a question too,

What do the zeroes mean here?

read-ahead and full file buffering disabled or autoconfig?

Title: Re: Question on advanced preferences
Post by: Rollin on 2019-11-07 15:13:34
What do the zeroes mean here?
read-ahead and full file buffering disabled or autoconfig?
Disabled
SimplePortal 1.0.0 RC1 © 2008-2020