diff options
| author | Jaroslav Kysela <[email protected]> | 2023-05-05 15:52:41 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-05-05 16:23:51 +0000 |
| commit | 190cb66a4ee0ac4419e1f8a9de46074a8c8e4c23 (patch) | |
| tree | de4332f87af73b053df8dd586d3a8ad2028c4ab7 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | ALSA: pcm: fix playback silence - correct incremental silencing (diff) | |
| download | kernel-190cb66a4ee0ac4419e1f8a9de46074a8c8e4c23.tar.gz kernel-190cb66a4ee0ac4419e1f8a9de46074a8c8e4c23.zip | |
ALSA: pcm: playback silence - remove extra code
The removed condition handles de facto only one situation where
runtime->silence_filled variable is equal to runtime->buffer_size,
because this variable cannot go over the buffer size. This case is
implicitly caught by the required comparison of the noise distance
with the threshold.
Suggested-by: Oswald Buddenhagen <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Signed-off-by: Oswald Buddenhagen <[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
