aboutsummaryrefslogtreecommitdiff
path: root/src/player_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player_control.h')
-rw-r--r--src/player_control.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 5a04ab0f..1424a485 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -21,13 +21,12 @@
#define MPD_PLAYER_H
#include "audio_format.h"
+#include "decoder/decoder_control.h"
#include <glib.h>
#include <stdint.h>
-struct decoder_control;
-
enum player_state {
PLAYER_STATE_STOP = 0,
PLAYER_STATE_PAUSE,
@@ -160,7 +159,7 @@ player_wait(struct player_control *pc)
* Note the small difference to the player_wait() function!
*/
void
-player_wait_decoder(struct player_control *pc, struct decoder_control *dc);
+player_wait_decoder(struct player_control *pc, DecoderControl *dc);
/**
* Signals the #player_control object. The object should be locked