diff options
author | Max Kellermann <max@duempel.org> | 2015-11-11 16:50:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-11-11 16:50:57 +0100 |
commit | 36239895bd822d5fd3087218fbb10986430b8c9b (patch) | |
tree | 6d0891ec5b68e2686ef8c000ad4b1d2a44157af4 /src/queue/Playlist.cxx | |
parent | 738583e3d4cd7a35aec545448f86a8c097768785 (diff) | |
download | mpd-36239895bd822d5fd3087218fbb10986430b8c9b.tar.gz mpd-36239895bd822d5fd3087218fbb10986430b8c9b.tar.xz mpd-36239895bd822d5fd3087218fbb10986430b8c9b.zip |
player/Control: add Lock prefix to locking method names
Diffstat (limited to '')
-rw-r--r-- | src/queue/Playlist.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/queue/Playlist.cxx b/src/queue/Playlist.cxx index 841684272..384a76a3b 100644 --- a/src/queue/Playlist.cxx +++ b/src/queue/Playlist.cxx @@ -57,7 +57,7 @@ playlist::QueueSongOrder(PlayerControl &pc, unsigned order) FormatDebug(playlist_domain, "queue song %i:\"%s\"", queued, song.GetURI()); - pc.EnqueueSong(new DetachedSong(song)); + pc.LockEnqueueSong(new DetachedSong(song)); } void @@ -140,7 +140,7 @@ playlist::UpdateQueuedSong(PlayerControl &pc, const DetachedSong *prev) if (prev != nullptr && next_song != prev) { /* clear the currently queued song */ - pc.Cancel(); + pc.LockCancel(); queued = -1; } @@ -235,7 +235,7 @@ playlist::SetRepeat(PlayerControl &pc, bool status) queue.repeat = status; - pc.SetBorderPause(queue.single && !queue.repeat); + pc.LockSetBorderPause(queue.single && !queue.repeat); /* if the last song is currently being played, the "next song" might change when repeat mode is toggled */ @@ -262,7 +262,7 @@ playlist::SetSingle(PlayerControl &pc, bool status) queue.single = status; - pc.SetBorderPause(queue.single && !queue.repeat); + pc.LockSetBorderPause(queue.single && !queue.repeat); /* if the last song is currently being played, the "next song" might change when single mode is toggled */ |