Constant librespot_audio::READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS [−][src]
pub const READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS: f32 = 2.0;
Expand description
Same as READ_AHEAD_BEFORE_PLAYBACK
, but the time is taken as a factor of the ping
time to the Spotify server. Both READ_AHEAD_BEFORE_PLAYBACK
and
READ_AHEAD_BEFORE_PLAYBACK_ROUNDTRIPS
are obeyed.
Note: the calculations are done using the nominal bitrate of the file. The actual amount
of audio data may be larger or smaller.