diff options
Diffstat (limited to '')
-rw-r--r-- | src/output_internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/output_internal.h b/src/output_internal.h index 5c11a9521..2455a549a 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -109,4 +109,16 @@ struct audio_output { */ extern struct notify audio_output_client_notify; +static inline int +audio_output_command_is_finished(const struct audio_output *ao) +{ + return ao->command == AO_COMMAND_NONE; +} + +static inline int +audio_output_get_result(const struct audio_output *ao) +{ + return ao->result; +} + #endif |