From 5d7b5e509ce3a9a5c17f3ee3cec2eee2979e190f Mon Sep 17 00:00:00 2001 From: Peter Meerwald Date: Wed, 3 Sep 2014 02:03:44 +0200 Subject: [PATCH] svolume: Make volume pointer parameter const for pa_volume_float32re_c() const obviously missing Signed-off-by: Peter Meerwald --- src/pulsecore/svolume_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);