summaryrefslogtreecommitdiff
path: root/src/Partition.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r--src/Partition.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx
index 43a77f32a..6e209352e 100644
--- a/src/Partition.hxx
+++ b/src/Partition.hxx
@@ -123,20 +123,20 @@ struct Partition final : private PlayerListener, private MixerListener {
playlist.Stop(pc);
}
- void PlayPosition(int position) {
- playlist.PlayPosition(pc, position);
+ bool PlayPosition(int position, Error &error) {
+ return playlist.PlayPosition(pc, position, error);
}
- void PlayId(int id) {
- playlist.PlayId(pc, id);
+ bool PlayId(int id, Error &error) {
+ return playlist.PlayId(pc, id, error);
}
- void PlayNext() {
- playlist.PlayNext(pc);
+ bool PlayNext(Error &error) {
+ return playlist.PlayNext(pc, error);
}
- void PlayPrevious() {
- playlist.PlayPrevious(pc);
+ bool PlayPrevious(Error &error) {
+ return playlist.PlayPrevious(pc, error);
}
bool SeekSongPosition(unsigned song_position,