[pulseaudio-discuss] [PATCH 1/2] svolume: Make volume pointer parameter const for pa_volume_float32re_c()

Peter Meerwald pmeerw at pmeerw.net
Wed Sep 3 03:53:35 PDT 2014


> Ack

pushed
 
> On 2014-09-03 02:25, Peter Meerwald wrote:
> > const obviously missing
> > 
> > Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> > ---
> >   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 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);
> > 
> 
> 

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list