alsa-lib/src
Reilly Grant f285572102 PCM: plug: Move fast_ops copy after slave configuration.
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
The plug plugin copies the fast_ops structure and fast_op_arg from its
slave PCM on initialization and after inserting a new plugin. This works
unless the slave PCM is also an instance of the plug plugin because plug
can change its fast_ops structure during _snd_pcm_hw_params.

Instead of copying fast_ops in snd_pcm_plug_insert_plugins wait until
the end of snd_pcm_plug_hw_params when the slave has been fully
initialized.

This fixes a crash when two instances of plug are instantiated back to
back and the format conversion plugin inserted by the second is skipped
by the first because the fast_ops pointer is not properly updated.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-08-31 18:34:02 +02:00
..
alisp alisp - Fix a string format ambiguity 2010-05-27 10:17:04 +02:00
compat Corrections by Kevin Conder <kconder@interaccess.com> 2002-03-12 20:14:33 +00:00
conf conf: Add more USB devices to S/PDIF blacklist 2012-05-23 11:03:24 +02:00
control ucm: Improve cset command parsing 2012-08-10 14:14:28 +02:00
hwdep alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. 2011-05-04 09:11:46 +02:00
mixer mixer: Remove redundant CHECK_ENUM() from snd_mixer_selem_is_enum*() 2012-03-13 14:30:22 +01:00
pcm PCM: plug: Move fast_ops copy after slave configuration. 2012-08-31 18:34:02 +02:00
rawmidi alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. 2011-05-04 09:11:46 +02:00
seq seqmid - more descriptions on snd_seq_parse_address() behavior 2012-03-14 18:45:02 +01:00
timer Remove redefinition of _GNU_SOURCE and __USE_GNU 2009-11-08 09:28:07 +01:00
ucm ucm: Add const to execute_cset() argument 2012-08-10 14:19:17 +02:00
async.c Make some static tables and strings constants. 2008-11-21 13:04:41 +01:00
conf.c build: Fallback to alphasort() if versionsort() isn't available 2012-07-17 14:56:14 +02:00
confmisc.c Mark static tables as constant when possible. 2008-11-21 22:39:38 +01:00
dlmisc.c general: recoded snd_dlobj_ functions 2010-08-23 17:10:16 +02:00
error.c Change assert condition in error message handler 2007-10-24 12:53:08 +02:00
input.c Make all the remaining ops structure constants. 2008-11-21 20:48:33 +01:00
Makefile.am real fix for the UCM code compilation issue 2011-01-27 14:56:53 +01:00
names.c Remove docs for snd_names_list and snd_names_list_free 2012-01-19 12:35:20 +01:00
output.c fix doc errors 2009-08-04 09:17:20 +02:00
shmarea.c Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
socket.c Move snd_is_local() to socket.c 2005-11-30 11:31:18 +00:00
userfile.c Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
Versions.in Fix wrong exported functions 2008-02-04 14:15:44 +01:00