Lock-free dmix considered harmful

Maarten Baert maarten-baert at hotmail.com
Sat Jun 20 21:38:13 CEST 2020


On 19/06/2020 19:21, Takashi Iwai wrote:
> OK, I implemented a couple of patches for this.
>
> The default behavior is a bigger question and I chose disabling the
> lockless for less CPU usage.  But it's selectable via configure option
> or the runtime asoundrc setup (there is already an option
> dmix.direct_memory_access).
>
>
> Takashi

Thank you, this solution should provide the best of both worlds. I will 
rebase my dmix monitoring patches on this improved version, I think I 
know a way to implement monitoring that does not depend too much on 
whether playback uses the locked or lock-free implementation.

Best regards,
Maarten Baert



More information about the Alsa-devel mailing list