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/PlaylistEdit.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 'src/queue/PlaylistEdit.cxx')
-rw-r--r-- | src/queue/PlaylistEdit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/PlaylistEdit.cxx b/src/queue/PlaylistEdit.cxx index 0d15f6a04..fe09bf1e4 100644 --- a/src/queue/PlaylistEdit.cxx +++ b/src/queue/PlaylistEdit.cxx @@ -252,7 +252,7 @@ playlist::DeleteInternal(PlayerControl &pc, else { /* stop the player */ - pc.Stop(); + pc.LockStop(); playing = false; } @@ -457,7 +457,7 @@ playlist::SetSongIdRange(PlayerControl &pc, unsigned id, /* if we're manipulating the "queued" song, the decoder thread may be decoding it already; cancel that */ - pc.Cancel(); + pc.LockCancel(); queued = -1; } } |