summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Meerwald <pmeerw@pmeerw.net>2014-09-03 02:03:44 +0200
committerPeter Meerwald <pmeerw@pmeerw.net>2014-09-03 12:51:22 +0200
commit5d7b5e509ce3a9a5c17f3ee3cec2eee2979e190f (patch)
tree530767587c4028186fd07bada441988852afe9ea /src
parentc6bc835e4572e682c8f09ddc5852ed63da1838d4 (diff)
svolume: Make volume pointer parameter const for pa_volume_float32re_c()
const obviously missing Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'src')
-rw-r--r--src/pulsecore/svolume_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/svolume_c.c b/src/pulsecore/svolume_c.c
index eb049732a..ad2df18e4 100644
--- a/src/pulsecore/svolume_c.c
+++ b/src/pulsecore/svolume_c.c
@@ -117,7 +117,7 @@ static void pa_volume_float32ne_c(float *samples, const float *volumes, unsigned
}
}
-static void pa_volume_float32re_c(float *samples, float *volumes, unsigned channels, unsigned length) {
+static void pa_volume_float32re_c(float *samples, const float *volumes, unsigned channels, unsigned length) {
unsigned channel;
length /= sizeof(float);