1
0
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:
David Sansome 2011-08-28 01:30:32 +01:00
parent c4280c2cf4
commit 27e837a8bb
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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;
}