Re: [PATCH v3] ALSA: pcm: auto-fill buffer with silence when draining playback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 10, 2023 at 06:54:57PM +0200, Jaroslav Kysela wrote:
NAK. Already implemented in alsa-lib which is enough for the first implementation.

did you read the part below the cut-off line? ;-)

you are NOT expected to apply this. i just needed it for my testing
(it's easier to deploy as i'm hacking on the kernel anyway) and wanted
to post it for posterity.

this patch should serve as a template for fixing the bug in the user-space implementation i reported a few days back. i'll post a patch sometimes soon if you don't beat me to it.

also, i think the drain_silence config should be re-interpreted as overriding the default 1/10th sec "overshoot", rather than nonsensically the total delay irrespective of period size.

regards



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux