jack: Use correct parameter order for snd_pcm_areas_silence()
PATCH 1/1 jack: Use correct parameter order for snd_pcm_areas_silence()
From: Timo Wischer <[email protected]>
Without this fix it will sometimes fail with a segmentation fault.
Signed-off-by Timo Wischer <[email protected]>
jack/pcm_jack.c +1 -1
@@ -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); }
Signature · 1 line
2.7.4
Jaroslav Kysela
AppliedDne 21.3.2018 v 12:42 [email protected] napsal(a):
Quoted 3 lines
From: Timo Wischer <[email protected]>
Without this fix it will sometimes fail with a segmentation fault.
Applied. Thanks.
Jaroslav
Quoted 15 lines
Signed-off-by Timo Wischer <[email protected]>jack/pcm_jack.c +1
-1@@ -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); }
Signature · 2 lines
Jaroslav Kysela <[email protected]> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Takashi Iwai
AppliedQuoted 6 lines · On Wed, 21 Mar 2018 12:42:32 +0100, <[email protected]> wrote:
From: Timo Wischer <[email protected]>
Without this fix it will sometimes fail with a segmentation fault.
Signed-off-by Timo Wischer <[email protected]>
Applied, thanks.
Takashi
Quoted 11 lines · Takashi Iwai
Quoted 6 lines · On Wed, 21 Mar 2018 12:42:32 +0100, <[email protected]> wrote:
From: Timo Wischer <[email protected]>
Without this fix it will sometimes fail with a segmentation fault.
Signed-off-by Timo Wischer <[email protected]>Applied, thanks.
Oops, a race condition, Jaroslav was quicker :)
Takashi