[pulseaudio-discuss] [PATCH 1/2] svolume: Make volume pointer parameter const for pa_volume_float32re_c()
David Henningsson
david.henningsson at canonical.com
Tue Sep 2 23:22:36 PDT 2014
Ack
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);
>
--
David Henningsson, Canonical Ltd.
https://launchpad.net/~diwic
More information about the pulseaudio-discuss
mailing list