mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 03:27:40 +01:00
Fix spotify audio stuttering on Linux
This commit is contained in:
parent
c4280c2cf4
commit
27e837a8bb
@ -1,2 +1,2 @@
|
||||
# Increment this whenever the user needs to download a new blob
|
||||
set(SPOTIFY_BLOB_VERSION 3)
|
||||
set(SPOTIFY_BLOB_VERSION 4)
|
||||
|
@ -546,7 +546,10 @@ int SpotifyClient::MusicDeliveryCallback(
|
||||
// Write the audio data.
|
||||
me->media_socket_->write(reinterpret_cast<const char*>(frames),
|
||||
num_frames * format->channels * 2);
|
||||
#ifdef Q_OS_DARWIN
|
||||
// ???
|
||||
me->media_socket_->flush();
|
||||
#endif
|
||||
|
||||
return num_frames;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user