Skip to content
Commit 7560ee03 authored by Stefan Sauer's avatar Stefan Sauer Committed by Takashi Iwai
Browse files

ALSA: seq: virmidi: Add a drain operation



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: default avatarStefan Sauer <st_kost@gmx.de>
Link: https://lore.kernel.org/r/20220106124145.17254-1-st_kost@gmx.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b81e9e5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment