alsa-lib/src
Andreas Pape 1e82577016 pcm: plugin - fix avail_min calculation on rate plugin
commit 88e4ae27, ff1f669d introduced a dynamic recalculation of the slave's
avail_min value.
The calculated avail_min setting did not take into account, that the avail_min value
depends on the used sampling rate and must be adapted accordingly
if the slave is using a different sampling rate.
That leads to too large/too small calculated avail_min settings and inaccurate
period wake-up events if a rate converter plugin is used.

This patch is adapting the avail_min calculation to consider a different
sampling rate between actual pcm and it's slave.

Signed-off-by: Andreas Pape <apape@de.adit-jv.com>
2022-03-24 14:15:51 +01:00
..
alisp alisp: add the missing include 2019-03-15 13:16:20 +01:00
conf conf: load the card specific configurations to the config sub-tree 2021-05-13 11:04:33 +02:00
control control: remap - assign right name to the child handle for no-op (2nd case) 2021-06-29 19:31:35 +02:00
hwdep conf: introduce snd_config_get_card() function 2021-02-26 21:08:28 +01:00
mixer mixer: simple - Fix "Capture Volume" and "Capture Switch" being seen as global controls 2021-05-04 18:21:18 +02:00
pcm pcm: plugin - fix avail_min calculation on rate plugin 2022-03-24 14:15:51 +01:00
rawmidi rawmidi: allocate the read buffer in the params call 2021-10-28 08:40:20 +02:00
seq seq: fix snd_seq_parse_address() 2021-05-26 17:29:48 +02:00
timer timer: remove dead code in _snd_timer_hw_open() 2021-06-02 19:50:17 +02:00
topology src/topology/parser.c: drop duplicate safe_strtol_base 2022-01-01 17:50:27 +01:00
ucm ucm: top-level path - set directory from symlink 2021-12-13 14:40:58 +01:00
async.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
conf.c conf: snd_config_merge - fix comment (overwrite / override) 2022-01-27 18:25:00 +01:00
confeval.c conf: fix the device parsing when arguments has no defaults 2021-12-09 10:15:47 +01:00
confmisc.c conf: snd_config_get_card() remove unused assignment 2021-06-03 07:29:11 +02:00
dlmisc.c dlmisc.c: Avoid double unlock in snd_dlobj_cache_get0() 2021-10-07 16:52:56 +02:00
error.c add snd_strlcpy() and use it everywhere 2019-03-25 16:46:05 +01:00
input.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Makefile.am conf: add possibility to evaluate simple integer math expressions 2021-11-30 11:33:35 +01:00
names.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
output.c output: Add snd_output_buffer_steal() function 2021-04-13 09:23:06 +02:00
shmarea.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
socket.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
userfile.c Change FSF address (Franklin Street) 2017-11-14 14:29:26 +01:00
Versions.in conf: fix the export of safe_strto* functions from libasound 2022-01-01 19:26:48 +01:00