From f8722913cf2f9d88cdc20a022c81d131c1728b17 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 29 Oct 2008 22:34:37 +0100 Subject: output: removed audio_output.result Since open() and play() close the device on error, we can simply check audio_output.open instead of audio_output.result after a call. --- src/output_internal.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/output_internal.h') diff --git a/src/output_internal.h b/src/output_internal.h index cfa23121..97b24255 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -109,11 +109,6 @@ struct audio_output { const struct tag *tag; } args; - - /** - * Result value of the command. true means success. - */ - bool result; }; /** @@ -134,10 +129,4 @@ audio_output_command_is_finished(const struct audio_output *ao) return ao->command == AO_COMMAND_NONE; } -static inline bool -audio_output_get_result(const struct audio_output *ao) -{ - return ao->result; -} - #endif -- cgit v1.2.3