diff options
Diffstat (limited to 'src/Partition.hxx')
-rw-r--r-- | src/Partition.hxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Partition.hxx b/src/Partition.hxx index 776f74e2a..6e4230857 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -23,19 +23,24 @@ #include "Playlist.hxx" #include "PlayerControl.hxx" +struct Instance; + /** * A partition of the Music Player Daemon. It is a separate unit with * a playlist, a player, outputs etc. */ struct Partition { + Instance &instance; + struct playlist playlist; player_control pc; - Partition(unsigned max_length, + Partition(Instance &_instance, + unsigned max_length, unsigned buffer_chunks, unsigned buffered_before_play) - :playlist(max_length), + :instance(_instance), playlist(max_length), pc(buffer_chunks, buffered_before_play) { } |