From 0e8d26a6a105f8e6f4fab15d0a997630595e23a3 Mon Sep 17 00:00:00 2001 From: Tanu Kaskinen Date: Thu, 4 Jul 2013 12:20:15 +0300 Subject: [PATCH] channelmap, volume: Don't refer to bool in the public API documentation --- src/pulse/channelmap.h | 2 +- src/pulse/volume.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h index da46556f3..47d2514b6 100644 --- a/src/pulse/channelmap.h +++ b/src/pulse/channelmap.h @@ -351,7 +351,7 @@ mapping, i.e.\ "Stereo", "Surround 7.1" and so on. If the channel mapping is unknown NULL will be returned. \since 0.9.15 */ const char* pa_channel_map_to_pretty_name(const pa_channel_map *map) PA_GCC_PURE; -/** Returns true if the specified channel position is available at +/** Returns non-zero if the specified channel position is available at * least once in the channel map. \since 0.9.16 */ int pa_channel_map_has_position(const pa_channel_map *map, pa_channel_position_t p) PA_GCC_PURE; diff --git a/src/pulse/volume.h b/src/pulse/volume.h index fa952c6d1..1e1beb4e6 100644 --- a/src/pulse/volume.h +++ b/src/pulse/volume.h @@ -224,7 +224,7 @@ pa_volume_t pa_cvolume_min(const pa_cvolume *a) PA_GCC_PURE; * \since 0.9.16 */ pa_volume_t pa_cvolume_min_mask(const pa_cvolume *a, const pa_channel_map *cm, pa_channel_position_mask_t mask) PA_GCC_PURE; -/** Return true when the passed cvolume structure is valid, false otherwise */ +/** Return non-zero when the passed cvolume structure is valid */ int pa_cvolume_valid(const pa_cvolume *v) PA_GCC_PURE; /** Return non-zero if the volume of all channels is equal to the specified value */