Re: [PATCH alsa-lib 3/4] pcm: hw: introduce SNDRV_PCM_INFO_PERFECT_DRAIN

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

 



On 04. 05. 23 10:18, Takashi Iwai wrote:
On Tue, 02 May 2023 13:50:09 +0200,
Jaroslav Kysela wrote:

The driver may not require to touch the sample stream
for the drain operation at all. Handle this situation
in alsa-lib.

Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx>

Ideally speaking, the checks and the setups of those new bits should
be coupled with the PCM protocol version check (and the version
bump).

But it seems that you've already applied the series, and practically
seen, those bits should be either not set or harmless, so let's cross
fingers.

Exactly, the current kernel code should skip those new flags, so they are used in alsa-lib only. It's just something like a "reservation" for the kernel space until things are really used there. We can bump the protocol version later (perhaps with other changes).

			Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.




[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