Crate librespot_audio
source · [−]Structs
Enums
Constants
Before playback starts, this many seconds of data must be present. Note: the calculations are done using the nominal bitrate of the file. The actual amount of audio data may be larger or smaller.
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.
While playing back, this many seconds of data ahead of the current read position are requested. Note: the calculations are done using the nominal bitrate of the file. The actual amount of audio data may be larger or smaller.
Same as READ_AHEAD_DURING_PLAYBACK
, but the time is taken as a factor of the ping
time to the Spotify server.
Note: the calculations are done using the nominal bitrate of the file. The actual amount
of audio data may be larger or smaller.