aboutsummaryrefslogtreecommitdiffstats
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, 5 insertions, 0 deletions
diff --git a/src/player_control.h b/src/player_control.h
index 0cc3c73a8..9cf5b1377 100644
--- a/src/player_control.h
+++ b/src/player_control.h
@@ -122,6 +122,11 @@ enum player_state getPlayerState(void);
void clearPlayerError(void);
+/**
+ * Returns the human-readable message describing the last error during
+ * playback, NULL if no error occurred. The caller has to free the
+ * returned string.
+ */
char *getPlayerErrorStr(void);
enum player_error getPlayerError(void);