[PATCH v2 1/3] ALSA: pcm: introduce INFO_NO_REWINDS flag

Takashi Iwai tiwai at suse.de
Tue Oct 5 08:59:19 CEST 2021


On Mon, 04 Oct 2021 18:24:21 +0200,
Pierre-Louis Bossart wrote:
> 
> When the hardware can only deal with a monotonically increasing
> appl_ptr, this flag can be set. In case the application requests a
> rewind, snd_pcm_rewind() will not return an error code but signal that
> the appl_ptr was not modified.

This modification itself is fine, but I guess that application may
still move the appl_ptr directly via SNDRV_PCM_IOCTL_SYNC_PTR ioctl.
We need to verify the backward move there, I suppose?


thanks,

Takashi


More information about the Alsa-devel mailing list