summaryrefslogtreecommitdiffstats
path: root/src/pulse/channelmap.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-31 01:17:09 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-31 01:17:09 +0100
commitb979ab39482a7ebf9eb1725b5a17141d1afce3d8 (patch)
treea015ba79167540c2213c045fa0c6d6f4d77e638d /src/pulse/channelmap.h
parentf725b06f6f76776cfc6749cd97ee783ee0f89ebf (diff)
implement pa_channel_map_can_fade
Diffstat (limited to 'src/pulse/channelmap.h')
-rw-r--r--src/pulse/channelmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pulse/channelmap.h b/src/pulse/channelmap.h
index de2d712a..f9124b2e 100644
--- a/src/pulse/channelmap.h
+++ b/src/pulse/channelmap.h
@@ -239,6 +239,11 @@ int pa_channel_map_superset(const pa_channel_map *a, const pa_channel_map *b) PA
* available. \since 0.9.15 */
int pa_channel_map_can_balance(const pa_channel_map *map) PA_GCC_PURE;
+/** Returns non-zero if it makes sense to apply a volume 'fade'
+ * (i.e. 'balance' between front and rear) with this mapping, i.e. if
+ * there are front/rear channels available. \since 0.9.15 */
+int pa_channel_map_can_fade(const pa_channel_map *map) PA_GCC_PURE;
+
/** Tries to find a well-known channel mapping name for this channel
* mapping. I.e. "stereo", "surround-71" and so on. If the channel
* mapping is unknown NULL will be returned. This name can be parsed