[pulseaudio-commits] src/pulsecore

Peter Meerwald pmeerw at kemper.freedesktop.org
Wed Sep 3 03:51:50 PDT 2014


 src/pulsecore/svolume_c.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5d7b5e509ce3a9a5c17f3ee3cec2eee2979e190f
Author: Peter Meerwald <pmeerw at pmeerw.net>
Date:   Wed Sep 3 02:03:44 2014 +0200

    svolume: Make volume pointer parameter const for pa_volume_float32re_c()
    
    const obviously missing
    
    Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>

diff --git a/src/pulsecore/svolume_c.c b/src/pulsecore/svolume_c.c
index eb04973..ad2df18 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);



More information about the pulseaudio-commits mailing list