From b084bc28ede5d397e88a4e2bdad8c07a55069589 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 11:03:39 +0200 Subject: use the "bool" data type instead of "int" "bool" should be used in C99 programs for boolean values. --- src/audio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/audio.h') diff --git a/src/audio.h b/src/audio.h index f5e89d245..9140afd58 100644 --- a/src/audio.h +++ b/src/audio.h @@ -19,6 +19,7 @@ #ifndef AUDIO_H #define AUDIO_H +#include #include #define AUDIO_AO_DRIVER_DEFAULT "default" @@ -51,7 +52,7 @@ void dropBufferedAudio(void); void closeAudioDevice(void); -int isCurrentAudioFormat(const struct audio_format *audioFormat); +bool isCurrentAudioFormat(const struct audio_format *audioFormat); void sendMetadataToAudioDevice(const struct tag *tag); -- cgit v1.2.3