-
Takashi Iwai authored
For discarding the pending bytes on rawmidi, we process with a loop of snd_rawmidi_transmit() which is just a waste of CPU power. Implement a lightweight API function to discard the pending bytes and the proceed the ring buffer instantly, and use it instead of open codes. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Takashi Iwai authoredFor discarding the pending bytes on rawmidi, we process with a loop of snd_rawmidi_transmit() which is just a waste of CPU power. Implement a lightweight API function to discard the pending bytes and the proceed the ring buffer instantly, and use it instead of open codes. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.