alsa-lib/src/pcm
Alexander E. Patrakov ff9d213ff8 rate: handle negative values from snd_pcm_mmap_playback_hw_avail
Such negative returns are possible during an underrun if xrun detection
is disabled.

So, don't store the result in an unsigned variable (where it will
overflow), and postpone the trigger in such case, too.

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2014-09-13 21:05:04 +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 pcm: add new 32-bit DSD sample format 2014-09-10 09:10:50 +02:00
pcm_adpcm.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_alaw.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +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 pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_direct.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_direct.h pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_dmix.c pcm: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02: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: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02:00
pcm_dsnoop.c pcm: express the rewind size limitation logic better 2014-09-13 21:04:13 +02: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 pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_generic.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02: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: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_hw.c pcm: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02:00
pcm_iec958.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_ioplug.c pcm: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02:00
pcm_ladspa.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_lfloat.c pcm: Drop snd_pcm_linear_{get|put}32_index() 2014-07-22 14:20:40 +02:00
pcm_linear.c pcm: Drop snd_pcm_linear_{get|put}32_index() 2014-07-22 14:20:40 +02:00
pcm_local.h pcm: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02:00
pcm_meter.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_misc.c pcm: add new 32-bit DSD sample format 2014-09-10 09:10:50 +02:00
pcm_mmap.c pcm: add missing "break" in "switch" 2012-05-14 16:55:39 +02:00
pcm_mmap_emul.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_mulaw.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_multi.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_null.c pcm, null: use the snd_pcm_mmap_avail function 2014-09-13 21:04:52 +02:00
pcm_params.c pcm: Fill sw_params proto field 2014-07-22 12:14:49 +02:00
pcm_plug.c pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +02:00
pcm_plugin.c pcm: handle negative values from snd_pcm_mmap_hw_avail 2014-09-13 21:04:26 +02:00
pcm_plugin.h pcm: Drop snd_pcm_linear_{get|put}32_index() 2014-07-22 14:20:40 +02:00
pcm_rate.c rate: handle negative values from snd_pcm_mmap_playback_hw_avail 2014-09-13 21:05:04 +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: Drop snd_pcm_linear_{get|put}32_index() 2014-07-22 14:20:40 +02:00
pcm_share.c pcm: fix return value of snd_pcm_share_slave_avail 2014-09-02 07:20:36 +02: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 pcm: Implement timestamp type handling in all plugins 2014-07-14 18:12:34 +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 pcm: route: Use get32 for multi-source route calculation 2014-07-22 14:06:12 +02:00