diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:03:39 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 11:03:39 +0200 |
commit | b084bc28ede5d397e88a4e2bdad8c07a55069589 (patch) | |
tree | d61d58cc73ed7d591df05fee2f4a48682e8d9c8c /src/audio.h | |
parent | 71351160b1b6fd4203f27f9159ae39a476483e1a (diff) | |
download | mpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.tar.gz mpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.tar.xz mpd-b084bc28ede5d397e88a4e2bdad8c07a55069589.zip |
use the "bool" data type instead of "int"
"bool" should be used in C99 programs for boolean values.
Diffstat (limited to '')
-rw-r--r-- | src/audio.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdbool.h> #include <stdio.h> #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); |