[alsa-devel] [PATCH - dmix v4 0/1] pcm: dmix: Align slave_hw_ptr to slave period

twischer at de.adit-jv.com twischer at de.adit-jv.com
Mon Nov 12 13:47:17 CET 2018


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


More information about the Alsa-devel mailing list