Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] rewrite snd_pcm_playback_silence() again
@ 2023-05-05  7:38 Jaroslav Kysela
  2023-05-05  7:38 ` [PATCH 1/5] ALSA: pcm: Revert "ALSA: pcm: rewrite snd_pcm_playback_silence()" Jaroslav Kysela
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Jaroslav Kysela @ 2023-05-05  7:38 UTC (permalink / raw)
  To: ALSA development; +Cc: Takashi Iwai, Oswald Buddenhagen, Jeff Chua

This is a split of changes for both patches (the first with the missing
top-up mode + later fix with mixups) proposed by Oswald. The aim was to
pick only real code changes.

Only the first two patches after revert fixes the current silencing issues.
The last two are just cleanups with the extra optimization in the last patch
moving the common code to a function.

Cc: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Cc: Jeff Chua <jeff.chua.linux@gmail.com>

Jaroslav Kysela (5):
  ALSA: pcm: Revert "ALSA: pcm: rewrite snd_pcm_playback_silence()"
  ALSA: pcm: fix playback silence - use the actual new_hw_ptr for the
    threshold mode
  ALSA: pcm: fix playback silence - correct the incremental silencing
  ALSA: pcm: playback silence - remove extra code
  ALSA: pcm: playback silence - move silence variables updates to
    separate function

 sound/core/pcm_lib.c    | 91 +++++++++++++++++++++++++----------------
 sound/core/pcm_local.h  |  3 +-
 sound/core/pcm_native.c |  6 +--
 3 files changed, 61 insertions(+), 39 deletions(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-05-05 10:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-05  7:38 [PATCH 0/5] rewrite snd_pcm_playback_silence() again Jaroslav Kysela
2023-05-05  7:38 ` [PATCH 1/5] ALSA: pcm: Revert "ALSA: pcm: rewrite snd_pcm_playback_silence()" Jaroslav Kysela
2023-05-05  9:31   ` Takashi Iwai
2023-05-05  9:38     ` Oswald Buddenhagen
2023-05-05 10:44       ` Takashi Iwai
2023-05-05  7:38 ` [PATCH 2/5] ALSA: pcm: fix playback silence - use the actual new_hw_ptr for the threshold mode Jaroslav Kysela
2023-05-05  7:38 ` [PATCH 3/5] ALSA: pcm: fix playback silence - correct the incremental silencing Jaroslav Kysela
2023-05-05  9:57   ` Takashi Iwai
2023-05-05 10:17     ` Oswald Buddenhagen
2023-05-05  7:38 ` [PATCH 4/5] ALSA: pcm: playback silence - remove extra code Jaroslav Kysela
2023-05-05  7:38 ` [PATCH 5/5] ALSA: pcm: playback silence - move silence variables updates to separate function Jaroslav Kysela
2023-05-05  9:22 ` [PATCH 0/5] rewrite snd_pcm_playback_silence() again Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox