From a714861cc1fa2e06c5f5509880fcbfbc334c2812 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 8 May 2009 22:45:24 +0200 Subject: channelmap: add pa_channel_map_has_position() --- src/pulse/channelmap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pulse/channelmap.h') diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h index d4db45b0..a2925c1e 100644 --- a/src/pulse/channelmap.h +++ b/src/pulse/channelmap.h @@ -325,6 +325,10 @@ 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 + * 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; + PA_C_DECL_END #endif -- cgit