[-,dmix,v4,0/1] pcm: dmix: Align slave_hw_ptr to slave period
mbox series

Message ID 1542026838-13907-1-git-send-email-twischer@de.adit-jv.com
Headers show
Series
  • pcm: dmix: Align slave_hw_ptr to slave period
Related show

Message

Timo Wischer Nov. 12, 2018, 12:47 p.m. UTC
Hi Takashi,

in the following we are providing the patch as requested by you:

On 11/6/18 17:32, Takashi Iwai wrote:
> I guess we may provide an option for choosing one of the following
> modes:
> 
> - current default mode;
>   no latency, but wakeup may be delayed, and may require 2*periods
> 
> - appl_ptr round up to the next period;
>   the current workaround for periods <= 2.
>   This imposes the start latency.
> 
> - round down to the current period start;
>   No latency, but will drop a few samples at start.
> 
> ... and ideally, provide a mode "auto" for choosing the appropriate
> one depending on the situation by a smart guess.

Please provide your feedback.

Best regards

Timo