1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-19 04:50:16 +01:00

Adding a flush() to the spotify media socket seems to help on OS X.

This commit is contained in:
John Maguire 2011-07-21 15:50:50 +02:00
parent 409d3b0184
commit 21d01c484e

View File

@ -526,6 +526,7 @@ int SpotifyClient::MusicDeliveryCallback(
// Write the audio data.
me->media_socket_->write(reinterpret_cast<const char*>(frames),
num_frames * format->channels * 2);
me->media_socket_->flush();
return num_frames;
}