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

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

 



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



[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