aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder_api.c')
-rw-r--r--src/decoder_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/decoder_api.c b/src/decoder_api.c
index 7fab6678a..639278cb9 100644
--- a/src/decoder_api.c
+++ b/src/decoder_api.c
@@ -45,6 +45,11 @@ void decoder_initialized(struct decoder * decoder,
notify_signal(&pc.notify);
}
+enum decoder_command decoder_get_command(mpd_unused struct decoder * decoder)
+{
+ return dc.command;
+}
+
/**
* All chunks are full of decoded data; wait for the player to free
* one.