diff options
Diffstat (limited to '')
-rw-r--r-- | src/player_control.h | 5 |
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); |