summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2023-05-05 18:52:42 +0300
committerTakashi Iwai <tiwai@suse.de>2023-05-05 19:23:52 +0300
commit6d8d56db0cd14c415c26e27d949c615750c40d70 (patch)
tree1ecb903a9fcccc10a10d1af329dafe0b318045fc /Kbuild
parent190cb66a4ee0ac4419e1f8a9de46074a8c8e4c23 (diff)
downloadlinux-6d8d56db0cd14c415c26e27d949c615750c40d70.tar.xz
ALSA: pcm: playback silence - move silence variable updates to separate function
The code tracking the added samples in thresholded mode and the code tracking the just played samples in top-up mode are semantically identical, so factor it out to a common function to enhance readability. Co-developed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230505155244.2312199-5-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions