Re: [PATCH - JACK PCM 1/1] jack: Use correct parameter order for snd_pcm_areas_silence()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dne 21.3.2018 v 12:42 twischer@xxxxxxxxxxxxxx napsal(a):
> From: Timo Wischer <twischer@xxxxxxxxxxxxxx>
> 
> Without this fix it will sometimes fail with a segmentation fault.
Applied. Thanks.

					Jaroslav


> 
> Signed-off-by: Timo Wischer <twischer@xxxxxxxxxxxxxx>
> 
> diff --git a/jack/pcm_jack.c b/jack/pcm_jack.c
> index a655668..e3df4d2 100644
> --- a/jack/pcm_jack.c
> +++ b/jack/pcm_jack.c
> @@ -200,7 +200,7 @@ snd_pcm_jack_process_cb(jack_nframes_t nframes, snd_pcm_ioplug_t *io)
>  		if (io->stream == SND_PCM_STREAM_PLAYBACK) {
>  			const snd_pcm_uframes_t frames = nframes - xfer;
>  
> -			snd_pcm_areas_silence(jack->areas, io->channels, xfer,
> +			snd_pcm_areas_silence(jack->areas, xfer, io->channels,
>  					      frames, io->format);
>  		}


-- 
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux