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:
parent
409d3b0184
commit
21d01c484e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user