Re: [PATCH] ALSA: core: Allow drivers to set R/W wait time.

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

 



On Thu, 2018-03-15 at 15:30 +0100, Takashi Iwai wrote:
> > It's not atm, as it was being set by the driver. Would probably mean an ABI
> > change to PCM ops or a new ioctl ? The latter wont break the ABI and the
> > default
> > value would remain if the ioctl was not called.
> 
> Basically this timeout is merely for a safety, wasn't considered as a
> part of the real functionality.
> 
> So, with your plan, this is exposed as a real PCM feature, as a part
> of API?  For what kind of scenario / purpose?

Use case is XRUN handling, DMA failure or FW crash detection. The shortened
timeout means we can recover far faster leaving a smaller gap in any audio.

Liam
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



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

  Powered by Linux