diff options
| author | Jaroslav Kysela <[email protected]> | 2023-05-05 15:52:42 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-05-05 16:23:52 +0000 |
| commit | 6d8d56db0cd14c415c26e27d949c615750c40d70 (patch) | |
| tree | 1ecb903a9fcccc10a10d1af329dafe0b318045fc /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ALSA: pcm: playback silence - remove extra code (diff) | |
| download | kernel-6d8d56db0cd14c415c26e27d949c615750c40d70.tar.gz kernel-6d8d56db0cd14c415c26e27d949c615750c40d70.zip | |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
