]> git.alsa-project.org Git - alsa-lib.git/commit
seq: Simplify snd_seq_extract_output()
authorTakashi Iwai <tiwai@suse.de>
Mon, 6 Nov 2023 15:33:59 +0000 (16:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Nov 2023 11:16:47 +0000 (12:16 +0100)
commit94a5ddff9d5d85104755ee17b301c289a060cebf
tree794ab48e61980b0935f7c05c6a6a2484230ab1ab
parent2fca03e792ef1b740e8a7370fdd360d0b627c84c
seq: Simplify snd_seq_extract_output()

Now that we never put UMP events on the output buffer in the legacy
mode, the check and skip of UMP events are no longer necessary.
It means that ump_allowed argument is meaningless in extract_output(),
too.

Let's drop the unnecessary check and move the code extract_output()
into snd_seq_extract_output() again, and call this directly from
snd_seq_ump_extract_output() for simplification.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/seq/seq.c