[PATCH 1/2] ALSA: seq: virmidi: Add a drain operation

Takashi Iwai tiwai at suse.de
Thu Jan 6 16:08:38 CET 2022


On Thu, 06 Jan 2022 13:41:45 +0100,
Stefan Sauer wrote:
> 
> If a driver does not supply a drain operation for outputs, a default code
> path will execute msleep(50). Especially for a virtual midi device
> this severely limmits the throughput.
> 
> This implementation for the virtual midi driver simply flushes the output
> workqueue.
> 
> Signed-off-by: Stefan Sauer <st_kost at gmx.de>

Thanks, applied.


Takashi


More information about the Alsa-devel mailing list