diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-05 01:30:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-05 01:30:25 +0200 |
commit | 34290725043274ddc88aeb203892f3d8bb7bbecf (patch) | |
tree | 010d8f53f0bd766588f02263f1d82a8e8b0718ef /src/pulse/channelmap.h | |
parent | ece297f21b627dfb71e853a57dcacbd1bd5217bb (diff) |
introduce upper channel map definition limit PA_CHANNEL_MAP_DEF_MAX
Diffstat (limited to 'src/pulse/channelmap.h')
-rw-r--r-- | src/pulse/channelmap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h index 035f9b1a..d2dd6f8f 100644 --- a/src/pulse/channelmap.h +++ b/src/pulse/channelmap.h @@ -157,6 +157,9 @@ typedef enum pa_channel_map_def { PA_CHANNEL_MAP_OSS, /**< The default channel mapping used by OSS as defined in the OSS 4.0 API specs */ + /**< Upper limit of valid channel mapping definitions */ + PA_CHANNEL_MAP_DEF_MAX, + PA_CHANNEL_MAP_DEFAULT = PA_CHANNEL_MAP_AIFF /**< The default channel map */ } pa_channel_map_def_t; @@ -211,7 +214,7 @@ pa_channel_map *pa_channel_map_parse(pa_channel_map *map, const char *s); /** Compare two channel maps. Return 1 if both match. */ int pa_channel_map_equal(const pa_channel_map *a, const pa_channel_map *b) PA_GCC_PURE; -/** Return non-zero of the specified channel map is considered valid */ +/** Return non-zero if the specified channel map is considered valid */ int pa_channel_map_valid(const pa_channel_map *map) PA_GCC_PURE; /** Return non-zero if the specified channel map is compatible with |