alsa-lib/src/pcm
David Henningsson 84f8b976c0 pcm: route: Correctly close slave pcm when no matching chmap is found
This patch fixes a bug where the slave pcm was not correctly closed
on some error conditions, such as not finding a matching chmap.

Reported-by: Raymond Yau <superquad.vortex2@gmail.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-05-27 11:21:52 +02:00
..
scopes Change .so module name and installation patch (/usr/lib/alsa-lib/scopes) 2005-06-07 11:31:18 +00:00
atomic.c Moved some prototypes from src/pcm/pcm_plugin.h to include/pcm_plugin.h. 2002-01-12 10:52:42 +00:00
interval.c Removed more asserts 2003-05-28 18:49:15 +00:00
interval.h Make local functions really local 2007-11-30 18:26:13 +01:00
interval_inline.h Added snd_interval_set_min_max()... 2003-02-17 10:21:24 +00:00
ladspa.h big ALSA LADSPA plugin rewrite for multiple channel LADSPA plugins 2005-12-13 14:08:58 +00:00
Makefile.am autotools: update style 2014-02-26 08:16:22 +01:00
mask.c Updated GNU GPL license (address). 2001-12-30 09:22:54 +00:00
mask.h Enhanced bitmasks in PCM - added support for more formats by Takashi and me 2002-06-26 02:04:11 +00:00
mask_inline.h Removed more asserts 2003-05-28 18:49:15 +00:00
pcm.c alsa-lib: minor typo in pcm doc 2014-01-06 09:07:11 +01:00
pcm_adpcm.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_alaw.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_asym.c Set PCM name properly in empty and asym plugins 2007-11-26 12:29:37 +01:00
pcm_copy.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_direct.c pcm: initialize pcm_dmix monotonic field 2014-01-23 09:42:01 +01:00
pcm_direct.h dmix: Don't use assert() and abort() 2013-11-27 09:37:54 +01:00
pcm_dmix.c pcm: initialize pcm_dmix monotonic field 2014-01-23 09:42:01 +01:00
pcm_dmix_generic.c pcm_dmix: add support for S24_LE format 2010-03-02 14:01:32 +01:00
pcm_dmix_i386.c pcm_dmix: add support for S24_LE format 2010-03-02 14:01:32 +01:00
pcm_dmix_i386.h pcm dmix plugin: fix MIX_AREAS_24 routine for i386 & x86_64 platforms 2009-06-16 20:10:19 +02:00
pcm_dmix_x86_64.c Add missing remix_areas_* for x86-64 2008-01-14 17:24:14 +01:00
pcm_dmix_x86_64.h pcm dmix plugin: fix MIX_AREAS_24 routine for i386 & x86_64 platforms 2009-06-16 20:10:19 +02:00
pcm_dshare.c pcm: initialize monotonic field for dshare and dsnoop, too 2014-01-23 09:46:37 +01:00
pcm_dsnoop.c pcm: initialize monotonic field for dshare and dsnoop, too 2014-01-23 09:46:37 +01:00
pcm_empty.c Set PCM name properly in empty and asym plugins 2007-11-26 12:29:37 +01:00
pcm_ext_parm.h Make local functions really local 2007-11-30 18:26:13 +01:00
pcm_extplug.c PCM: Introduce snd_pcm_chmap_t and snd_pcm_chmap_query_t 2012-09-13 08:24:58 +02:00
pcm_file.c Portability fix: look for sys/endian.h as well as endian.h 2014-02-24 11:00:53 +01:00
pcm_generic.c PCM: Fix conflict of _snd_pcm_hw_params definitions 2012-12-04 12:17:00 +01:00
pcm_generic.h PCM: Avoid busy loop in snd_pcm_write_areas() with rate plugin 2012-11-13 16:16:26 +01:00
pcm_hooks.c PCM: Avoid busy loop in snd_pcm_write_areas() with rate plugin 2012-11-13 16:16:26 +01:00
pcm_hw.c pcm_hw: Fix buffer overflow in chmap 2013-06-14 14:09:55 +02:00
pcm_iec958.c pcm: Fix forward/rewind support in iec958 plugin 2014-04-28 18:09:56 +02:00
pcm_ioplug.c pcm: Wrap hw_ptr to boundary in pcm_ioplug 2014-03-04 13:02:29 +01:00
pcm_ladspa.c pcm: ladspa: Delay LADSPA plugin activate call 2014-04-03 12:02:03 +02:00
pcm_lfloat.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_linear.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_local.h pcm: use CLOCK_REALTIME for non-monotonic ts 2014-01-24 13:54:15 +01:00
pcm_meter.c alsa-lib: heavy pcm atomics cleanup 2014-02-11 13:45:16 +01:00
pcm_misc.c Make some static tables and strings constants. 2008-11-21 13:04:41 +01:00
pcm_mmap.c pcm: add missing "break" in "switch" 2012-05-14 16:55:39 +02:00
pcm_mmap_emul.c PCM: Fix conflict of _snd_pcm_hw_params definitions 2012-12-04 12:17:00 +01:00
pcm_mulaw.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_multi.c PCM: shut up a compile "unused parameter" compile warning in pcm_multi.c 2012-11-26 18:13:01 +01:00
pcm_null.c PCM: Use compounds for overriding / enhancing chmaps 2012-09-13 08:24:59 +02:00
pcm_params.c Merge kernel uapi/sound/asound.h and asequencer.h 2012-11-26 18:02:17 +01:00
pcm_plug.c pcm: Insert linear-to-float conversion when rate or channel count is incorrect 2014-02-26 14:39:18 +01:00
pcm_plugin.c pcm: Fix forward/rewind support in iec958 plugin 2014-04-28 18:09:56 +02:00
pcm_plugin.h pcm: Fix forward/rewind support in iec958 plugin 2014-04-28 18:09:56 +02:00
pcm_rate.c pcm: rate: Don't return negative frame count on success in rewind 2014-04-07 12:41:58 +02:00
pcm_rate_linear.c pcm_rate_linear: Annotate unused function parameter to avoid compiler warnings. 2009-09-30 12:45:35 +02:00
pcm_route.c pcm: route: Correctly close slave pcm when no matching chmap is found 2014-05-27 11:21:52 +02:00
pcm_share.c PCM: Fix conflict of _snd_pcm_hw_params definitions 2012-12-04 12:17:00 +01:00
pcm_shm.c Make all the PCM plugins ops structure constant. 2008-11-21 20:38:49 +01:00
pcm_simple.c alsa-lib: fixed coverity reported issues under "FORWARD_NULL" checker. 2011-05-04 09:11:46 +02:00
pcm_softvol.c Implement the channel mapping API 2012-09-11 11:34:50 +02:00
pcm_symbols.c Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-15 10:24:55 +02:00
plugin_ops.h Add missing support for 3-byte formats for 16bit put conversion 2010-08-13 16:11:36 +02:00