summaryrefslogtreecommitdiffstats
path: root/src/pulse/volume.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-27 02:45:37 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-27 02:45:37 +0100
commit5449d793ae7800ad236f027f6c6893a1d2db3929 (patch)
treee5c0bda56ec1e9e74a38cd36419f691123e81323 /src/pulse/volume.h
parentdf8ad5d18fe67b93393fb6f81d7598a95d021680 (diff)
swap argument order of pa_cvolume_get_balance() to be a bit more systematic
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r--src/pulse/volume.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h
index e8670ab3..c1967b31 100644
--- a/src/pulse/volume.h
+++ b/src/pulse/volume.h
@@ -237,7 +237,7 @@ int pa_cvolume_compatible(const pa_cvolume *v, const pa_sample_spec *ss) PA_GCC_
/** Calculate a 'balance' value for the specified volume with the
* specified channel map. The return value will range from -1.0f
* (left) to +1.0f (right) \since 0.9.15 */
-float pa_cvolume_get_balance(const pa_channel_map *map, const pa_cvolume *v) PA_GCC_PURE;
+float pa_cvolume_get_balance(const pa_cvolume *v, const pa_channel_map *map) PA_GCC_PURE;
/** Adjust the 'balance' value for the specified volume with the
* specified channel map. v will be modified in place and
@@ -246,7 +246,7 @@ float pa_cvolume_get_balance(const pa_channel_map *map, const pa_cvolume *v) PA_
* pa_cvolume_get_balance() is not guaranteed to actually return the
* requested balance (e.g. when the input volume was zero anyway for
* all channels) \since 0.9.15 */
-pa_cvolume* pa_cvolume_set_balance(const pa_channel_map *map, pa_cvolume *v, float new_balance);
+pa_cvolume* pa_cvolume_set_balance(pa_cvolume *v, const pa_channel_map *map, float new_balance);
/** Scale the passed pa_cvolume structure so that the maximum volume
* of all channels equals max. The proportions between the channel