diff options
author | Jaroslav Kysela <[email protected]> | 2023-05-05 17:52:42 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2023-05-05 18:23:52 +0200 |
commit | 6d8d56db0cd14c415c26e27d949c615750c40d70 (patch) | |
tree | 1ecb903a9fcccc10a10d1af329dafe0b318045fc /lib/mpi/mpi-mod.c | |
parent | 190cb66a4ee0ac4419e1f8a9de46074a8c8e4c23 (diff) |
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 <[email protected]>
Signed-off-by: Oswald Buddenhagen <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions